Edgewall Software

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: Ryan J Ollos <ryan.j.ollos@…> 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.

Change History (1)

by Ryan J Ollos <ryan.j.ollos@…>, 12 years ago

Attachment: t10834-r11295-1.patch added

Patch against r11295 of trunk.

Note: See TracTickets for help on using tickets.