This originally was on my blog at https://js-react.blogspot.com/2017/01/using-markdown-in-blogger.html.
Markdown has become very popular due to its simplicity and its wide adoption in Github and other developer websites. So when I was looking at Blogger to start a blog, I wanted the same easy syntax. I had expected that Blogger would support Markdown natively. Alas it does not.
I found Francis's blog that explained on how to do this on the client side (no server needed!). Unfortunately it was written a few years ago and there was no updated docs on the steps to do it. So I rolled up my sleeves and took the same approach but using the latest versions of CDN hosted jQuery, highlightJS (https://highlightjs.org) and showDown libraries.
jQuery had the nice bonus of cleaning up the previous code by abstracting away the DOM manipulation.
Caveat - your post shows up as Markdown in RSS feeds.
Open your template, by clicking the "Template" menu item. This displays the current template. Click Edit to modify the template. At the top of your template, add the following tags just before the </head> tag.
<link rel="stylesheet" href="https://github.com/cs905s/md-in-blogger/blob/master//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/default.min.css"/>
At the bottom of the template, add the following tags just before the