• mediamarx

    (@mediamarx)


    Hi,

    having the option “show line number in code area” toggled in the settings, we do find the line numbers output for most of the used languages. If the language of the code is set to language-html though, no line-numbers are output / displayed.

    In the CSS both have the class line-numbers. Only thing that is different is the order of the classes, but which should make no differences, should it?

    e.g. bash

    <pre class="line-numbers language-bash " tabindex="0">
    <code class="language-bash"> Here is the code 
    </code>
    </pre>

    –> OK: Line numbers are displayed

    e.g. HTML

    <pre class="language-html line-numbers" tabindex="0">
    <code class="language-html"> Here is the code 
    </code>
    </pre>

    –> OK: Line numbers not displayed

    Is this a known issue?

  • The topic ‘line-numbers not displayed for language-html’ is closed to new replies.