Hello!

How about if you create a TITLE tag in the header of the html file, like
<title>Hello title</title>
and use <h1> to <h6> for headings. I don't know about subtitle though.

Will that work for you?

Regards
Hans

Den fredag 28 juni 2019 kl. 21:33:17 UTC+9 skrev Hideman:
Hello,

I try to tell pandoc to generate a <p> or whatever html tag to be a Title and Subtitle in the generated docx.

I found : https://pandoc.org/MANUAL.html#custom-styles
and wrote
<p custom-style="Title">Hello title</p>
but nothing

Tried this before
<p custom-style="title">Hello title</p>
and it was converted as Heading 1

And also nothing happened with
<p custom-style="Subtitle">Hello subtitle</p>
<p custom-style="subtitle">Hello subtitle</p>

I don't want that be interpreted as Heading levels because I use that for sections.

Thank you in advance for your further replies.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/85662fd8-565e-4101-9daf-c02fe3148c60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.