![]() Get Sponsored
| |
![]() | |
![]() |
A NoteTab clip by Joe Barta
(For all versions of NoteTab) This clip takes a source code file (or any NON-html file) and adds an anchor to each line, optionally adding line numbers. It then encloses the whole thing up in a HTML/PRE wrapper and saves it with a .html extension. It's intended purpose is to make C/C++ files easier to refer to in online documentation. Once the file is processed, all that's needed to link to (say) line 234 is... <A HREF="mycode.c.html#234">look at line 234</A> Note - C-Liner is a clip for the NoteTab text editor. NoteTab must be installed or this utility won't do you a bit of good.
Here is the input: Input
And here is the output with line numbers added:
And here is the same output without line numbers:
DOWNLOAD C-Liner along with the above examples. (28 Kb)
Current version: 1.0
|