Support » Plugin: Prettify Code Syntax » Line numbers not showing

Viewing 2 replies - 1 through 2 (of 2 total)
  • Issue solved! There was indeed a problem with my syntax. The proper way of doing it is:

    <pre class="prettyprint linenums"><code class="language-html">
    // Code here
    <a href="url">sample text</a>
    </code></pre>

    Use a pre class of “linenums”.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Line numbers not showing’ is closed to new replies.