Also see in https://ickc.github.io/pandoc-MathJax-node/.

Test the Use of Mathjax-Node in Pandoc

Testing mathjax/MathJax-node: Mathjax for Node with these files:

Dependancy

npm install pkra/mathjax-node-page

Makefile

The 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 -j8

Demo

The 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).