home | tags | mulvany.net


Update on MathJax

Sun Nov 20, 2011

139 Words
Posted In: mathjax, latex, github-pages, javascript

MathJax has come a long way since I last looked at it. There is now a CDN hosting the js files, which makes calling it really really easy. It’s being adopted by GiHub for their wiki engine.

Using it with markdown can cause a few bumps, but there seems to be a bunch of ways around this:

Writing a block of %%\LaTeX%% like this

$$
\begin{aligned}
\dot{x} & = \sigma(y-x) 
\dot{y} & = \rho x - y - xz
\dot{z} & = -\beta z + xy \end{aligned} $$

will render like this

$$ \begin{aligned} \dot{x} & = \sigma(y-x)
\dot{y} & = \rho x - y - xz
\dot{z} & = -\beta z + xy \end{aligned} $$

[mim]: http://doswa.com/2011/07/20/mathjax-in-markdown.html i