Last active
September 3, 2018 22:00
-
-
Save RyanNutt/04bc01479f856a0fb19bd3c0129dc533 to your computer and use it in GitHub Desktop.
Convert all markdown files in a folder to docx with MathJax rendered as image instead of as Microsoft equations. https://compsci.rocks/markdown-mathjax-word-embedded-images/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
for %%f in (*.md) do ( | |
echo Converting %%~nf.md to %%~nf.docx | |
pandoc "%%~nf.md" --webtex -t html | pandoc -f html -o "%%~nf.docx" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment