Modify

Opened 17 years ago

Closed 12 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

Description

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 12 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 12 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
Action
as closed The owner will remain Adamansky Anton.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.