I’m running pandoc 2.9.11 on windows through cygwin. I experience a similar issue if I specify a format name of HTML (in that it can’t find templates\default.HTML)..

But it will provide the template if you specify the format name in all lowercase.. html. It also has templates for the format html4 and html5.

You shouldn’t have to create anything for the default template. Just your custom template(s).

Hope this helps.

On Thursday, September 24, 2020 at 9:53:59 AM UTC-5 boardtc wrote:
My goal is that I typically have my title me a URL so I don't want it repeated first.

I decided to look at this today.

I fell at the first hurdle, the documentation says to:

To see the default template that is used, just type pandoc -D *FORMAT*

pandoc -D HTML

Could not find data file templates\default.HTML

Also the default directory (confirmed by pandoc --version) does not exit:

C:\Users\tom\AppData\Roaming\pandoc. The documentation does not suggest I need to create it, do I?


On Thu, 3 Sep 2020 at 17:25, John MacFarlane <j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:

Sure, you can use a custom template. See the manual.

Tom Corcoran <boa...-Re5JQEeQqe8@public.gmane.orgm> writes:

> When I convert my markdown document it auto generates:
>
> <header id="title-block-header">
> <h1 class="title">Name of document</h1>
> </header>
>
> Sometimes this is fine but most times I would like to control the HTML
> that's shown myself. Is there a switch to stop this being generated?
>
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAELuEwG4iN7r5qt_SWQLcsk5hX2JJpLwN6DnAVyHfLn1a-LuqA%40mail.gmail.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e3e64040-77f5-46ee-9094-d1137b35cf39n%40googlegroups.com.