Opened 12 years ago
Last modified 9 years ago
#10834 closed enhancement
Option to add line numbers to code blocks — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 1.1.2 |
Component: | wiki system | Version: | |
Severity: | normal | Keywords: | wikimacros |
Cc: | ethan.jucovy@…, leho@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Inspired by th:LinenoMacro, the attached patch adds an option annotations=lineno
that adds line numbers to code blocks.
{{{#!python annotations=lineno }}}
The unit test is failing. I'm hoping someone can give me some guidance on that.
Note:
See TracTickets
for help on using tickets.
Patch against r11295 of trunk.