Skip to content

Instantly share code, notes, and snippets.

@RyanNutt RyanNutt/md2docx.bat
Last active Sep 3, 2018

What would you like to do?
Convert all markdown files in a folder to docx with MathJax rendered as image instead of as Microsoft equations.
@echo off
for %%f in (*.md) do (
echo Converting to %%~nf.docx
pandoc "" --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
You can’t perform that action at this time.