JSFiddle - React, Tailwind, and code Playground
HTML
<pre>
<code class="codeIt">
<h4>Heading && qty > </h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</code>
</pre>
JavaScript
$('.codeIt').each(function(i){
$(this).text($(this).html());
});