Changes between Version 55 and Version 56 of TracSyntaxColoring
- Timestamp:
- Aug 18, 2014, 8:38:05 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracSyntaxColoring
v55 v56 19 19 === About Pygments === 20 20 21 S tarting with trac 0.11 [http://pygments.org/ pygments] will bethe new default highlighter. It's a highlighting library implemented in pure python, very fast, easy to extend and [http://pygments.org/docs/ well documented].21 Since Trac 0.11 [http://pygments.org/ pygments] is the new default highlighter. It's a highlighting library implemented in pure python, very fast, easy to extend and [http://pygments.org/docs/ well documented]. 22 22 23 23 The Pygments default style can specified in the [TracIni#mimeviewer-section mime-viewer] section of trac.ini. The default style can be overridden by setting a Style preference on the [/prefs/pygments preferences page]. … … 38 38 HTML documents are directly rendered only if the `render_unsafe_html` settings are enabled in the TracIni (those settings are present in multiple sections, as there are different security concerns depending where the document comes from). If you want to ensure that an HTML document gets syntax highlighted and not rendered, use the `text/xml` mimetype. 39 39 40 If mimetypesuch as 'svn:mime-type' is set to 'text/plain', there is no coloring even if file is known type like 'java'.40 If a mimetype property such as 'svn:mime-type' is set to 'text/plain', there is no coloring even if file is known type like 'java'. 41 41 42 42 === List of Languages Supported, by Highlighter #language-supported