Modify ↓
Opened 18 years ago
Closed 13 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 13 years ago by
comment:2 Changed 13 years ago by
| Resolution: | → wontfix |
|---|---|
| Status: | new → 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.
Note: See
TracTickets for help on using
tickets.



You'd probably need to implement
prepare_wiki_pagein theIWikiPageManipulatorinterface and insert the line#!Linenobefore every code block.