MathJax with Reveal — Right Way

Press to reveal some math below:

This file is loaded by jQuery and then typeset by MathJax.

An equation is \(E=mc^2\).

Another equation is
$$
\sum_{i=1}^{n} i = {n(n+1)\over 2}.
$$

The final equation is
$$
\int f(x)+g(x)\,dx = \int f(x)\,dx + \int g(x)\,dx
$$
where \(f\) and \(g\) are integrable functions.