alexgorbatchev/SyntaxHighlighter — pull request #209 by mbd (2013-04-30 09:17:10+00:00)
Title: Add option to put anchors on lines

Added option to put anchors on lines: 'lineno-anchors', with default
value false.

If enabled, adds lineno anchors to all lines.

This is intended to be used when syntaxHighlighting a whole file, or
with a most one source fragment on the page.

It can then be used with something like this:
ref="somefile.html#lineno42".

In the SyntaxHighlighted page, you must write the body.onLoad
handler something this:
onLoad="SyntaxHighlighter.highlight(); location.hash=location.hash;"