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:
<div>
<input name="someInput" value="highlight">
</div>
More information can be found in this answer