in reply to Re^2: Change default style sheet: add line numbers
in thread Change default style sheet: add line numbers

More elementary approaches like demonstrated in Metacpan or perlcommunity.de OTOH are well tested already.

Well the perlcommunity.de solution isn't bulletproof, it won't work well with wrapping or font customizations, the line numbers will get out of sync with the code

the metacpan solution is javascript

  • Comment on Re^3: Change default style sheet: add line numbers

Replies are listed 'Best First'.
Re^4: Change default style sheet: add line numbers
by LanX (Saint) on Apr 05, 2015 at 03:20 UTC
    Customizations are always problematic.

    The numbers must have the same fonts and line-height like the code.

    Wrapping just means skipping to number a line.

    Though I prefer the scrolling frame solution there.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!