Mathjax in jekyll based blog

To write math in your jekyll blog you can use mathjax. To enable it, just add this line in _includes/header.html:

<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

just after the line:

<header class="site-header">

That’s all, now you can use mathjax with standard LaTeX commands. For inline math use the $$\frac{a}{b}$$ instead of $\frac{a}{b}$.

If you want to ask me a question or leave me a message add @bougui505 in your comment.