MathJax With Toto

This is how I make Toto embed MathJax in to the page using Tex markup.

<script type="math/tex; mode=display">
\begin{align}
x &= 100011_2 \\
  &= 100_2 * 2^3 + 011_2 
\end{align}
</script>

It looks like this when rendered

The mode=display makes it so that it is centered in case that is what you need because it looks better than left or right aligned.

The rest of the markup is taken from (Tex)[http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference].