I am currently working on a project showcased in this demo. I am facing an issue with the rendering of HTML markup in the snippet highlighter library called highlights.js
. Can anyone help me figure out why this is happening?
<pre><code class="html">
<a role="button" class="btn btn-default btn-block">Item 4</a>
</code></pre>
$(document).ready(function() {
$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
});