32
rated 0 times
[
37]
[
5]
/ answers: 1 / hits: 19015
/ 10 Years ago, thu, february 27, 2014, 12:00:00
How do I put my HTML code so that highlight.js prettify it ?
I tried
<pre>
<code>
<!-- HTML Prettify -->
<div>
<pre class=pre-code-ception><code> haha </code></pre>
</div>
</code>
</pre>
I did put at the end of my file :
<script type=text/javascript>
hljs.initHighlightingOnLoad();
</script>
But everything is shown as plain HTML.
More From » html