Changes between Version 2 and Version 3 of TracSyntaxColoring
- Timestamp:
- 2013-10-17 13:42:34 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracSyntaxColoring
v2 v3 29 29 30 30 [[KnownMimeTypes]] 31 32 Note that the rich content may be directly //rendered// instead of syntax highlighted. This usually depends on which auxiliary packages are installed and on which components are activated in your setup. For example a `text/x-rst` document will be rendered via `docutils` if it is installed and the `trac.mimeview.rst.ReStructuredTextRenderer` is not disabled, and will be syntax highlighted otherwise. 33 34 In a similar way, a document with the mimetype `text/x-trac-wiki` is rendered using the Trac wiki formatter, unless the `trac.mimeview.api.WikiTextRenderer` component is disabled. 35 36 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. 31 37 32 38 … … 98 104 99 105 == Extra Software == 100 * GNU Enscript --http://directory.fsf.org/GNU/enscript.html101 * GNU Enscript for Windows --http://gnuwin32.sourceforge.net/packages/enscript.htm102 * !SilverCity --http://silvercity.sf.net/103 * Pygments -- http://pygments.org/106 * GNU Enscript — http://directory.fsf.org/GNU/enscript.html 107 * GNU Enscript for Windows — http://gnuwin32.sourceforge.net/packages/enscript.htm 108 * !SilverCity — http://silvercity.sf.net/ 109 * **Pygments — http://pygments.org/** 104 110 105 111 ----