Opened 10 years ago

Closed 5 years ago

#2949 closed enhancement (wontfix)

Implementing macro across the board

Reported by: Danny Owned by: Adamansky Anton
Priority: normal Component: LinenoMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11


I'd like to know if it is possible or how would one implement this macro across the board. Specifically, to have line numbers be created for *all* pre blocks. (not inline ones of course). Mostly, because line numbers are an excellent thing to have when referring to a section of text in a pre block.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by Ryan J Ollos

You'd probably need to implement prepare_wiki_page in the IWikiPageManipulator interface and insert the line #!Lineno before every code block.

comment:2 Changed 5 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

I think this is out of scope for the macro, and as mentioned on the project wiki page, the functionality has been added to the Trac core and will be officially released with Trac 1.2.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Adamansky Anton.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.