Saturday, 31 October 2015

MathJax with Blogger

Returning to blog after quite a while now, I started writing a more 'mathematically inclined' post only to find out how cumbersome it is to write math equations in blogger (and in HTML in general). So, I started to look for ways to embed \(\LaTeX\) into blogger.
Searching around, I found out about MathJax[1] which is a javascript library to display mathematical notations in web browsers using \(\LaTeX\) markup.

This post is a test bed for me and might be helpful for someone trying something similar.

Adding MathJax to this blog turned out to be way simpler than I had expected it to be. It may be because I am not used to getting software running quickly and without effort. But doing this just requires two steps:
  1. Linking the MathJax library to this blog.
  2. Adding math to the post.
I wonder if this will allow \(\LaTeX\) in the comments!

[1]: https://www.mathjax.org/