This holds some templates, mostly Pandoc reference templates, that will help other writers writing in Markdown, like me, to convert into a nicely formatted Word document.
There are Microsoft Word reference templates, and there are LibreOffice reference templates.
I never output in PDF, so that is why there are no PDF templates.
You can always get the latest version of all the templates by downloading this Zip archive
The easiest place to put these templates is your Pandoc data directory folder
Just link to my website when crediting me. Look in the Wiki for a tutorial and documentation for the Microsoft word native templates that do not need Pandoc.
After installing Pandoc, use the below for each one of these extra templates.
Make your life far easier by keeping these reference templates in your Pandoc user data directory.
To convert something without referencing a template, rename one of the templates, reference.docx.
If you rename one of the templates "reference.docx" you do not need to explicitly tell Pandoc to use the template. Pandoc will use the template automatically if it is called, reference.docx, so you only need a command such as the below.
pandoc -s draft.md -o Book.docx
The below calls upon another template explicitly. In this case, the novel template.
pandoc -s Draft.md --reference-doc=$env:APPDATA\pandoc\novel.docx -o Book.docx
You can change templates by changing the reference template. For example, to use the story template, inside Powershell,
pandoc -s Draft.md --reference-doc=$env:APPDATA\pandoc\story.docx -o Book.docx