[[PageOutline(2-5,Contents,pullout)]] = Cite code in wiki pages and tickets == Description === `CiteCode` macto With this macro, you can cite code from repositories in wiki pages and tickets. The following example cites line 10 through 24 of revision 3 of trunk/hello.py from repo1 repository: {{{ [[CiteCode(/repo1/trunk/hello.py?rev=3#L10-24)]] }}} See also: IncludeMacro === Create a ticket from the repository browser You can create a ticket by double-clicking a line number in the repository browser. The location is cited in the description. == !Bugs/Feature Requests Existing bugs and feature requests for CiteCodeMacro are [report:9?COMPONENT=CiteCodeMacro here]. If you have any issues, create a [/newticket?component=CiteCodeMacro new ticket]. [[TicketQuery(component=CiteCodeMacro&group=type,format=progress)]] == Download Download the zipped source from [export:citecodemacro here]. == Source You can check out CiteCodeMacro from [/svn/citecodemacro here] using Subversion, or [source:citecodemacro browse the source] with Trac. == Installation General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. == Recent Changes [[ChangeLog(citecodemacro, 3)]] == !Author/Contributors **Author:** [wiki:tkob-trac] [[BR]] **Maintainer:** [[Maintainer]] [[BR]] **Contributors:**