Edgewall Software

Opened 16 years ago

Closed 14 years ago

#5613 closed defect (duplicate)

Pygments support incomplete

Reported by: Dave Abrahams <dave@…> Owned by: Christian Boos
Priority: normal Milestone:
Component: wiki system Version:
Severity: normal Keywords: pygments verify
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


The advertisement about pygments being used for syntax highlighting naturally leads to the conclusion that stuff like:


will work, but it does not. I think all pygments "short names" should automatically be wikiprocessors. If not, the documentation should be changed to clarify that it's only used for viewing repo docs and attachments.

Attachments (0)

Change History (5)

comment:1 by Noah Kantrowitz, 16 years ago

pytb does indeed work fine on the 0.10 plugin (http://trac-hacks.org/wiki/SandBox). Sounds like a regression.

comment:2 by anonymous, 16 years ago

When using pygments, #!php will only parse php if you include the php tags (<?php); however, pygments allows the use of an option to allow inline highlighting without the <?php string. Options for the syntaxes should be configurable via WebAdmin or trac.ini.

comment:3 by Piotr Kuczynski <piotr.kuczynski@…>, 15 years ago

Keywords: pygments added

comment:4 by Christian Boos, 14 years ago

Keywords: verify added
Milestone: 0.11-retriage0.11.6

I thought this got somehow fixed, but the #!pybt sample still doesn't work here…

comment:5 by Christian Boos, 14 years ago

Milestone: next-minor-0.12.x
Resolution: duplicate
Status: newclosed

See #5533 actually.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.