Trac Pygments

Description

Provides syntax coloring for Trac based on Pygments.

Note: This plugin is no longer needed in Trac 0.11, as it supports Pygments natively. Please be sure to uninstall the plugin when upgrading.

Bugs/Feature Requests

Existing bugs and feature requests for TracPygmentsPlugin are here. If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TracPygmentsPlugin from here using Subversion, or browse the source with Trac.

Example

[components]
tracpygments.* = enabled

Options

All options apply to the [mimeviewer] section of the config file.

The pygments_default_style option changes the default style used by pygments to render your source.

The pygments_modes is a list option of additional mimetype:mode:quality tuples. See the source for details.

Recent Changes

[2113] by mitsuhiko on 03/22/07 19:29:14

TracPygmentsPlugin:

0.11 -> 0.10

[2006] by mitsuhiko on 02/17/07 20:17:14

TracPygmentsPlugin:

added mitsuhiko's backport

[2005] by mitsuhiko on 02/17/07 20:15:45

TracPygmentsPlugin:

created matt_good branch

[1851] by mgood on 01/08/07 03:22:35

TracPygmentsPlugin:

change import for get_lexer_by_name to be compatible with Pygments 0.6 (fixes #1078)

Author/Contributors

Author: mgood
Contributors: mitsuhiko