Edgewall Software

Changes between Version 3 and Version 4 of 1.1/TracSyntaxColoring


Ignore:
Timestamp:
Jan 30, 2015, 7:30:34 AM (9 years ago)
Author:
Jun Omae
Comment:

Missing WikiProcessor page. Replaced WikiProcessor with [WikiProcessors WikiProcessor]

Legend:

Unmodified
Added
Removed
Modified
  • 1.1/TracSyntaxColoring

    v3 v4  
    1717The list of currently supported languages can be found on the [http://pygments.org/languages/ supported languages] page. The list represents the languages supported in the most recent version of Pygments, so the languages actually supported in your installation could differ if you have an older version installed. The listing of [http://pygments.org/docs/lexers/ supported lexers] provides additional information about the default mime type to keyword mappings.
    1818
    19 Explicit control of the mime type associated with a WikiProcessor and file extension is available through the `mime_map` setting. For example, by default `.m` files are considered Objective-C files. In order to treat `.m` files as MATLAB files, add `text/matlab:m` to the `mime_map` setting in the [wiki:TracIni#mimeviewer-section "[mimeviewer] section of trac.ini"].
     19Explicit control of the mime type associated with a [WikiProcessors WikiProcessor] and file extension is available through the `mime_map` setting. For example, by default `.m` files are considered Objective-C files. In order to treat `.m` files as MATLAB files, add `text/matlab:m` to the `mime_map` setting in the [wiki:TracIni#mimeviewer-section "[mimeviewer] section of trac.ini"].
    2020
    2121If 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`.