I had this problem earlier I needed to escape a HTML tag like <Tag> on my blog (I am using Ghost Blog). I am bit disappointed with myself that I actually had to Google for a solution. The markdown guide states that any HTML is also valid for markdown, this should have brought me to the conclusion on how to do this. But it took me some time to remember that you can escape/encode HTML in HTML. What a simple solution that is..
For tags such as < use
< and for > use
>. It is as simple as that! The earlier example would be written as
<Tag> in the editor and show as <Tag>. You can check the mark up of this page to see how it should look in the browser.
For a complete list of HTML entities look here.
I hope this helps you, please let me know in the comments down below if it did!