Hi, i've an improvement suggest i think is was :), about the output html structure, may i explain what we has first? as you know, when we output without line numbers, the html structure like this :
by this way, we got the same root element either, which let's styling the root element effort never lose after we turn from non-line_numbers to line_numbers, all we should do in additional just add some css to make the table looks fine, and the root element's style change nothing, i believe it's more elegant.
This is out of scope of this library. All markup is created by Pygments. Also, note that bundled Pygments version was updated in #205, so possibly markup have changed.
Hi, i've an improvement suggest i think is was :), about the output html structure, may i explain what we has first? as you know, when we output without line numbers, the html structure like this :
and if we enable to generate the line numbers, we'll get this :
i think the best structure when we generating with line numbers should be this :
by this way, we got the same root element either, which let's styling the root element effort never lose after we turn from non-line_numbers to line_numbers, all we should do in additional just add some css to make the table looks fine, and the root element's style change nothing, i believe it's more elegant.