Also see in https://ickc.github.io/pandoc-MathJax-node/.
Testing mathjax/MathJax-node: Mathjax for Node with these files:
npm install pkra/mathjax-node-pageThe command to use mjpage with pandoc is in the makefile. Note that in normal use, you might want to pipe the commands used together.
If you want to make the project, use
make clean && make -j8The followings are the demo, where the mathjax output is by the traditional MathJax rendered in browser, and the mathjax-node-page output by preprocessing the markdown with mjpage. You can compare the later to the former and see what isn’t working yet (e.g. \ref might have problems).