= Prints code listings with line numbers = [[PageOutline(2-5,Contents,pullout)]] {{{ #!html
This functionality will be integrated into the Trac core for inclusion in the next developer-stable release (milestone:1.1.2), and will be part of the next production-stable release, milestone:1.2. See #10834.
}}} == Description == This macro produces colored code listings with line numbers. == Bugs/Feature Requests == Existing bugs and feature requests for LinenoMacro are [report:9?COMPONENT=LinenoMacro here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=LinenoMacro&owner=rjollos new ticket]. == Download == Download the zipped source from [download:linenomacro here]. == Source == You can check out LinenoMacro from [http://trac-hacks.org/svn/linenomacro here] using Subversion, or [source:linenomacro browse the source] with Trac. == Example == Simple java listing with included Lineno macro: {{{ {{{ #!Lineno #!java class A { public static void main(String[] args) { } } }}} }}} Result: [[Image(linenum.png)]] == Install == To install: {{{ #!sh sudo easy_install }}} To enable: {{{ #!ini [components] lineno.linenomacro.* = enabled }}} == Recent Changes == [[ChangeLog(linenomacro, 3)]] == Author/Contributors/License == '''Author:''' [wiki:adamansky] [[BR]] '''Maintainer:''' rjollos [[BR]] '''Contributors:''' [[BR]] '''License:''' [/tags/"apache-license" Apache 2.0]