wiki:CiteCodeMacro

Version 2 (modified by tkob-trac, 8 years ago) (diff)

--

Cite code in wiki pages and tickets

Description

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

Bugs/Feature Requests

Existing bugs and feature requests for CiteCodeMacro are here.

If you have any issues, create a new ticket.

defect

3 / 3

task

1 / 1

Download

Download the zipped source from here.

Source

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

Installation

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
(more)

Author/Contributors

Author: tkob-trac
Maintainer: tkob-trac
Contributors: