Markdown with MathJax in WordPress

I usually write blog posts and my private plain text notes in Markdown using the PHP Markdown Extra flavour which adds syntax for very useful features like tables and footnotes. It is a pretty clean markup language that makes WordPress writing a bit more comfortable than with either Visual or HTML, the two standard post editors.

At the moment I am working on a fairly long post for this blog which requires some mathematical formulas[^1]. The MathJax project has cooked up an awesome combination of JavaScript, CSS, web fonts and MathML to produce math on web sites so great that it seems like magic:

[\frac{1}{\pi} e^{-x^2-p^2}.]

Try to zoom in or out and see how beautifully the formula scales. It is even (to some extent) copy-pastable.

Continue reading