# Math Works Now

Docutils has supported math rendering for a while now. That means Nikola should have supported it for a while too, but never did correctly because ... well, because noone ever tried, maybe?

Well, it does now, because Damian Avila has fixed it!

For example, I can now casually mention Euler's formula, which is $e^{ix} = \cos x + i\sin x$ and it just works. How did I do that? Like this:

I can now casually mention Euler's formula, which is :math:e^{ix} = \cos x + i\sin x

And I can show whole equations!

\begin{equation*} \int \frac{dx}{1+ax}=\frac{1}{a}\ln(1+ax)+C \end{equation*}

That was done like this:

.. math::

\int \frac{dx}{1+ax}=\frac{1}{a}\ln(1+ax)+C

And all you need to do to make this work is tag your posts as "mathjax" so the right javascript is loaded. If you don't do that, then your page has no mathematical javascript at all :-)