Add support for line numbers
|Reported by:||rmm5t||Owned by:||rmm5t|
Add support for line numbers, but don't implement it using the built in line number generation in GeSHi. I prefer that this plugin continue to output <pre> tagged output, and also maintain valid XHTML output. GeSHi's use of <ol> and <li> tags for line numbering unfortunately forces some unexpected rendering and potentially invalid XHTML.
The idea is to support a new line attribute that takes a line number as the value. When this is present, line numbers will start at the line number specified.
Also, copy-n-pasting in all browsers should be supported such that the line numbers don't get copied along with the code. GeSHi's output currently causes problems with this in Firefox.