Cite code in wiki pages and tickets

Notice: This macro is deprecated. Please use IncludeMacro instead.


CiteCode macro

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/ from repo1 repository:


See also: IncludeMacro, WikiProcessors (in particular the #python processor)

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 here.

If you have any issues, create a new ticket.


3 / 3


1 / 1


Download the zipped source from here.


You can check out CiteCodeMacro from here using Subversion, or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.

Recent Changes

17708 by rjollos on 2020-04-29 19:50:14
TracCiteCode 0.3.6: Require Trac 1.2

Remove compatibility code.

16550 by rjollos on 2017-04-17 21:23:42
TracCiteCode 0.3.5: Replace use of Context, removed in Trac 1.3.1

Fixes #13155.

16422 by rjollos on 2017-03-30 07:24:23
TracCiteCode 0.3.4: Conform to PEP8


Author: tkob-trac
Maintainer: tkob-trac

Last modified 4 years ago Last modified on Apr 29, 2020, 7:37:13 PM