# Hello MathJax

MathJax isn’t currently supported out-of-the-box with Octopress. The main reason seems to be that the Markdown processor — rdiscount — doesn’t deal with the MathJax escaping very well. However, since Maruku supports it, I thought I’d try switching over.

I made the following two changes:

This allows for inline $\TeX$ expressions between dollar signs e.g. $\TeX$. MathJax display expressions (i.e. non-inline) are delimited by double dollar signs:

renders as:

$$\forall x, y : \mathbb{Z}, x > 3 \land y < 2 \Rightarrow x^2 - 2y > 5$$

## Right-click issue

There was also a problem with the theme. When right clicking a MathJax expression, the whole page goes blank! Zete has a great fix for this: