Skip to main content
1 of 4
RonnBlack
  • 4.1k
  • 16
  • 2

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>&lt;div&gt;
    &lt;input name="someInput" value=<b>"highlight"</b>&gt;
&lt;/div&gt;
</code></pre>

Which would produce:

<div>
    <input name="someInput" value="highlight">
</div>

More information can be found in this answer

RonnBlack
  • 4.1k
  • 16
  • 2