Prints code listings with line numbers
Description
This macro produces colored code listings with line numbers.
Tested with trac 0.11
Bugs/Feature Requests
Existing bugs and feature requests for LinenoMacro are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out LinenoMacro from here using Subversion, or browse the source with Trac.
Example
Simple java listing with included Lineno macro:
{{{ #!Lineno #!java class A { public static void main(String[] args) { } } }}}
Install
To install:
sudo easy_install <dir with macro sources>
To enable:
[components] lineno.* = enabled lineno.linenomacro.* = enabled
Recent Changes
[3540] by adamansky on 04/21/08 21:31:19
Initial repo
[3539] by adamansky on 04/21/08 21:27:40
New hack LinenoMacro, created by adamansky
Author/Contributors
Author: adamansky
Contributors:
Attachments
- linenum.png (4.0 kB) - added by anonymous on 04/22/08 07:15:14.