I\'ve been banging my head on this one for a few hours, and I\'m sure the solution is quite simple, or non-existent.
I\'m trying to convert an html file to docx!
The above answer no longer works. According to the documentation, you now produce the template using:
pandoc --print-default-data-file reference.docx > custom-reference.docx
For the full documentation of how to use the template, go to the documentation and search for "--reference-doc"