How to escape and show HTML tags in your (Ghost)blog

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 &lt; and for > use &gt;. It is as simple as that! The earlier example would be written as &lt;Tag&gt; 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!