Modify

Opened 6 years ago

Closed 19 months ago

#2949 closed enhancement (wontfix)

Implementing macro across the board

Reported by: dekimsey@… Owned by: adamansky
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 2 years ago by rjollos

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 19 months ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.