Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 1 and Version 2 of TracSyntaxColoring


Ignore:
Timestamp:
Aug 30, 2006, 6:04:11 PM (18 years ago)
Author:
trac
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracSyntaxColoring

    v1 v2  
    11= Syntax Coloring of Source Code =
    2 Trac supports language-specific colorization (syntax highlighting) of source code in [wiki:WikiFormatting WikiFormatted] text and the [wiki:TracBrowser Source Browser].
     2Trac supports language-specific syntax highlighting of source code in [wiki:WikiFormatting wiki formatted] text and the [wiki:TracBrowser repository browser].
    33
    44To do this, Trac uses external libraries with support for a great number of programming languages.
     
    99 * [http://silvercity.sourceforge.net/ SilverCity]
    1010
    11 To activate syntax coloring, simply install either one (or more) of these packages. No additional configuration is needed.
     11To activate syntax coloring, simply install either one (or more) of these packages. No additional configuration is required, however to modify the colors, have a look at `trac/htdocs/css/code.css`.
    1212
    1313When in use, Trac will automatically prioritize !SilverCity highlighting over Enscript if possible, (see note below).
     
    4040|| IDL      ||   || X ||
    4141|| Javascript || X || X ||
     42
    4243|| m4       ||   || X ||
    4344|| Makefile ||   || X ||
     
    5051|| Pyrex    ||   || X ||
    5152|| * Python || X || X ||
    52 || * Ruby   || X || X ||
     53|| * Ruby   || X || X (1) ||
    5354|| Scheme   ||   || X ||
    5455|| Shell    ||   || X ||
     
    6566''(*) Supported as inline code blocks in [wiki:WikiFormatting Wiki text] using WikiProcessors.''
    6667
     68''(1) Ruby highlighting is not included in the Enscript distribution.  Highlighting rules for Ruby can be obtained from: http://neugierig.org/software/ruby/
     69
    6770== Extra Software ==
    6871 * GNU Enscript -- http://people.ssh.fi/mtr/genscript/