If you have a blog, hosted on github pages where you adding your posts in markdown(like most of the blogs built using Jekyll have), here is how you can write math using latex in your blogs.

### Step 1

In your _includes folder, create a file by name - mathjax.html and paste the content present here

## Credits

To this repo, that belongs to Apoorva Kumar. Infact the Github repo for this blog, is a result of a blatant clone of his repo.

P.S I could not include the important text directly as it was messing up the blog. By that I mean, it was rendering content and code when I included the needed text as it is in the blog. Hence I tried my best by including images and links.