Integrate Pandoc as Markdown Converter
· One min read
Convert Markdown files to Microsoft Word docs using Pandoc.
Creating a template
pandoc -o ~/.pandoc/custom-reference.docx --print-default-data-file reference.docx
Using the template
/usr/local/bin/pandoc \
-f markdown {{vault_path}}/docs/workflows/stand-alone_workflows/{{file_name}} \
--reference-doc=/Users/nikolee/.pandoc/rhs-draft-reference.docx \
-t docx \
-o {{vault_path}}/../exports/draft/docx/{{title}}.docx \
--toc --number-sections
