http://qs321.pair.com?node_id=66566


in reply to rambling (deux)

Firstly, forgive that I'm such a late-commer to this thread, but I just found it (thanks to turnstep's home-node).

I would like to say that I think that optional line-numbered <CODE> tags is a good idea. One way to implement it would be to allow an attribute to the existing tag, the value of which would be used to determine where to start counting. Ie, if you use the same value as a previous <code> tag (in the same node, of course) the #'s would continue. They wouldn't if you used a new value.

I would also like to refute Corion's assertation that syntax highlighting is hard. If I can do it, there are plenty of people here that could do it better (well enough to be used on the site, I'm sure). I think, though, that if it were added as an option, it would need to be used sparingly. Perhaps limited to certain sections, or at least defaulted to "off". Otherwise it might put an undue strain on the PM server (that depends, of course, on how efficient of an implementation was used).

Anyway, that's my belated ${2/100}. Hope someone sees this....... ;-)

bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.