Opened 17 years ago
Closed 15 years ago
#5613 closed defect (duplicate)
Pygments support incomplete
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | |
Severity: | normal | Keywords: | pygments verify |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
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 (0)
Change History (5)
comment:1 by , 17 years ago
comment:2 by , 17 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 , 16 years ago
Keywords: | pygments added |
---|
comment:4 by , 16 years ago
Keywords: | verify added |
---|---|
Milestone: | 0.11-retriage → 0.11.6 |
I thought this got somehow fixed, but the #!pybt
sample still doesn't work here…
comment:5 by , 15 years ago
Milestone: | next-minor-0.12.x |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
See #5533 actually.
pytb
does indeed work fine on the 0.10 plugin (http://trac-hacks.org/wiki/SandBox). Sounds like a regression.