WordPress.org

Support

Support » Plugins and Hacks » Prettify Code Syntax » [Resolved] Line numbers not showing

[Resolved] 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 ‘[Resolved] Line numbers not showing’ is closed to new replies.
Skip to toolbar