Ticket #460 (new enhancement)

Opened 2 years ago

Last modified 3 months ago

wiki macro for quoting range of lines of source file

Reported by: anonymous Assigned to: anybody
Priority: normal Component: Request-a-Hack
Severity: normal Keywords: wiki quote source
Cc: fcorreia@gmail.com Trac Release: 0.9

Description

I'd like to see a way to quote on a wiki page ranges of source code (using the nice source browser rendering to show line numbers etc). The macro would need to support TracLink?-style reference to specific source file, specific version, specific line or range of lines or perhaps even multiple ranges of lines (non-neighboring ranges would create abbreviation line in quote block like "...").

This sort of thing would make implementation discussion on a wiki page much easier! :)

Attachments

Change History

04/07/08 16:59:46 changed by thatch

It's already possible to highlight lines in 0.11 -- do you want to extract the lines or is highlighting them enough?

http://trac.edgewall.org/browser/trunk/setup.py?marks=3-9,15#L1

08/23/08 13:20:03 changed by anonymous

  • cc set to fcorreia@gmail.com.

Add/Change #460 (wiki macro for quoting range of lines of source file)




Change Properties
Action