pandoc convert html with style sheet to docx

后端 未结 2 1033
北荒
北荒 2021-02-08 08:16

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!

<
2条回答
  •  深忆病人
    2021-02-08 08:44

    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"

提交回复
热议问题