From: Paul R. <pa...@ro...> - 2009-11-15 20:17:43
|
Hi all, I've just installed viewgit on my site which makes great use of Geshi. What I'd like to do is try to modify it such that each line number is a link to that line. When collaborating on code its great to send a link to a line number to someone for discussion. Here's an example of another project that's done it: http://dragonflycms.org/cvs/html/banners.php?v=9.7 Basically each line number gets coded as: <a name="19" href="#19">19</a> So a link to line 19 would be: http://dragonflycms.org/cvs/html/banners.php?v=9.7#19 Is there a way to do this with the existing GeSHi API? Cheers, Paul |