| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Cite code in wiki pages and tickets |
| 4 | |
| 5 | == Description |
| 6 | |
| 7 | With this macro, you can cite code from repositories in wiki pages and tickets. |
| 8 | |
| 9 | The following example cite line 10 through 24 of revision 3 of trunk/hello.py from repo1 repository: |
| 10 | |
| 11 | {{{ |
| 12 | [[CiteCode(/repo1/trunk/hello.py?rev=3#L10-24)]] |
| 13 | }}} |
| 14 | |
| 15 | See also: IncludeMacro |
| 16 | |
| 17 | == !Bugs/Feature Requests |
| 18 | |
| 19 | Existing bugs and feature requests for CiteCodeMacro are |
| 20 | [report:9?COMPONENT=CiteCodeMacro here]. |
| 21 | |
| 22 | If you have any issues, create a |
| 23 | [/newticket?component=CiteCodeMacro new ticket]. |
| 24 | |
| 25 | [[TicketQuery(component=CiteCodeMacro&group=type,format=progress)]] |
| 26 | |
| 27 | == Download |
| 28 | |
| 29 | Download the zipped source from [export:citecodemacro here]. |
| 30 | |
| 31 | == Source |
| 32 | |
| 33 | You can check out CiteCodeMacro from [/svn/citecodemacro here] using Subversion, or [source:citecodemacro browse the source] with Trac. |
| 34 | |
| 35 | == Installation |
| 36 | |
| 37 | General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. |
| 38 | |
| 39 | == Recent Changes |
| 40 | |
| 41 | [[ChangeLog(citecodemacro, 3)]] |
| 42 | |
| 43 | == !Author/Contributors |
| 44 | |
| 45 | **Author:** [wiki:tkob-trac] [[BR]] |
| 46 | **Maintainer:** [[Maintainer]] [[BR]] |
| 47 | **Contributors:** |