MathJax allows you to include mathematics in your web pages, e.g. by using LaTeX. The formulae will be processed using JavaScript to produce HTML, SVG, or MathML equations for viewing in any modern browser.

It’s very easy to include it into your Jekyll posts. Add the following script to _layouts/post.html:

Voilà, you should be good to go. If you now type in your post:

it will render nicely as Euler’s identity as we all know it: $$e^{i\pi} + 1 = 0$$.

Cool! Note that  is required at the beginning and end. It will signify the start and end of the formula formatting.