If you build on @ChrisF's solution you can have a full code block if you format something like this <!-- language: lang-html --> <pre><code><div> <input name="someInput" value=<b>"highlight"</b>> </div> </code></pre> Which would produce: <!-- language: lang-html --> <pre><code><div> <input name="someInput" value=<b>"highlight"</b>> </div> </code></pre> More information can be found in this [answer](http://meta.stackoverflow.com/questions/251361/how-do-i-format-my-code-blocks)