Edgewall Software

Ticket #5613 (new defect)

Opened 15 months ago

Last modified 2 months ago

Pygments support incomplete

Reported by: Dave Abrahams <dave@…> Owned by: cboos
Priority: normal Milestone: 0.11.3
Component: wiki system Version:
Severity: normal Keywords: pygments
Cc:

Description

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

{{{
#!pybt
...
}}}

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

Change History

Changed 15 months ago by nkantrowitz

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

Changed 14 months ago by anonymous

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.

Changed 2 months ago by Piotr Kuczynski <piotr.kuczynski@…>

  • keywords pygments added

Add/Change #5613 (Pygments support incomplete)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
The owner will change to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.