[[PageOutline(2-5,Contents,pullout)]] = Trac Pygments = {{{ #!html
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.
}}} == Description == Provides syntax coloring for Trac based on [http://pygments.pocoo.org Pygments]. == Bugs/Feature Requests == Existing bugs and feature requests for TracPygmentsPlugin are [query:status!=closed&component=TracPygmentsPlugin&order=priority here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TracPygmentsPlugin&owner=mgood new ticket]. == Download == Download the zipped source from [download:tracpygmentsplugin here]. == Source == You can check out TracPygmentsPlugin from [http://trac-hacks.org/svn/tracpygmentsplugin here] using Subversion, or [source:tracpygmentsplugin browse the source] with Trac. == Example == {{{ [components] tracpygments.* = enabled }}} {{{ #!java /** * Sample Java code * @author anonymous */ public class Foo { /** * Main method */ public static void main(String[] args) { // Show message System.out.println("This is a test."); } } }}} == 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 [http://trac-hacks.org/browser/tracpygmentsplugin/0.10/tracpygments/__init__.py source] for details. == Recent Changes == [[ChangeLog(tracpygmentsplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:mgood] [[BR]] '''Maintainer:''' [wiki:mgood] [[BR]] '''Contributors:''' [wiki:mitsuhiko]