Thanks so much for verifying the issue and identifying it's root cause. I have filed this issue: https://github.com/jgm/pandoc/issues/8296 Thanks again, Gadi On Friday, September 9, 2022 at 2:54:02 PM UTC-7 fiddlosopher wrote: > OK, I see now. The person who wrote this module never implemented > `—standalone` features or any sensitivity to metadata. > Please requset this on our issue tracker; it shouldn’t be hard to add > support. > > > On Sep 9, 2022, at 2:41 PM, John MacFarlane wrote: > > > > I can confirm this, but I don’t know yet why this happens. > > > >> On Sep 9, 2022, at 2:38 PM, Gadi wrote: > >> > >> Greetings, > >> I am attempting to use the xwiki output of Pandoc but wanted to use a > custom template. When I used -D to get the default and then modified it and > used the --template flag the modifications did not show up. I then > attempted to see if the default template was used by specifying > --table-of-contents and --include-before-body=FILE but neither of those > effected the output. Is this a bug or am I making some mistake. I have > tried replicating the same command line but just switching to HTML output > and see the templating system working as documented. > >> > >> Example commands used: > >> pandoc source.md -f markdown-auto_identifiers --template > pandoc_template.xwiki -t xwiki -s -o output.xwiki > >> pandoc source.md -t xwiki --table-of-contents > --include-before-body=include_before.xwiki > >> > >> I attempted to review the source but I am not familiar with Haskell > enough to understand why this might be happening. > >> > >> Thanks! > >> > >> Gadi > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups "pandoc-discuss" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/b2b91cf3-d13e-4b69-8e3b-aef81848caa4n%40googlegroups.com > . > > > > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ce625436-684b-4a1d-bf6d-fd484b103b07n%40googlegroups.com.