Many of the topics I work with involve math left, right, and center. Being able to use is a big feature for me so here’s the solution I’ve come up with so far. Credit certainly goes to Dr Zac and Felix for their work getting Latex playing nice. I believe that Zac’s is the more correct solution given its use of the custom header file rather than modifying the default layout. However Felix has the fix for a bug in MathJax which otherwise turns the entire page white when viewing an equation’s source.
The first step is to change the Markdown processor to be kramdown (or pandoc if you prefer, see Dr Zac’s page) as it supports Latex.
kramdownand remove the version requirement.
kramdownas the markdown parser
bundle installto install Kramdown if necessary.
Now add the MathJax script to each page’s header
1 2 3 4
Finally fix the MathJax right click bug if necessary. I’m using the readify theme which doesn’t trigger the bug, however the default theme does.
1 2 3
needs to be changed to
1 2 3
And the result, an attractive Fourier Transform equation