Edgewall Software

Changes between Initial Version and Version 1 of TracSyntaxColoring


Ignore:
Timestamp:
Apr 30, 2004, 12:51:13 AM (20 years ago)
Author:
daniel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracSyntaxColoring

    v1 v1  
     1= Syntax Coloring of Source Code =
     2Trac supports language-specific colorization (syntax highlighting) of source code in [wiki:WikiFormatting WikiFormatted] text and the [wiki:TracBrowser Source Browser].
     3
     4To perform this, Trac relies on external software packages with support for a great number of programming languages.
     5
     6Currently Trac supports syntax coloring using [http://people.ssh.fi/mtr/genscript/ GNU Enscript] and [http://silvercity.sourceforge.net/ SilverCity].
     7
     8'''To activate syntax coloring, simply install !SilverCity and/or Enscript.'''
     9
     10Trac will automatically prioritize using !SilverCity before Enscript if possible. If neither is available, Trac will display the data as plain text.
     11
     12'''Note:''' ''Enscript supports a greater number of languages, however !SilverCity is generally faster since it is a library, not having to execute an external process.''
     13
     14== Syntax Coloring Support ==
     15
     16|| || !SilverCity || Enscript ||
     17|| Ada      ||   || X ||
     18|| Asm      ||   || X ||
     19|| * ASP    ||   || X ||
     20|| * C      || X || X ||
     21|| * C++    || X || X ||
     22|| * Java   ||   || X ||
     23|| Awk      ||   || X ||
     24|| Diff     ||   || X ||
     25|| Eiffel   ||   || X ||
     26|| Elisp    ||   || X ||
     27|| Fortran  ||   || X ||
     28|| Haskell  ||   || X ||
     29|| HTML     || X || X ||
     30|| IDL      ||   || X ||
     31|| Javascript || || X ||
     32|| m4       ||   || X ||
     33|| Makefile ||   || X ||
     34|| Matlab   ||   || X ||
     35|| Objective-C|| || X ||
     36|| Pascal   ||   || X ||
     37|| * Perl   || X || X ||
     38|| * PHP    ||   || X ||
     39|| Pyrex    ||   || X ||
     40|| * Python || X || X ||
     41|| * Ruby   ||   || X ||
     42|| Scheme   ||   || X ||
     43|| Shell    ||   || X ||
     44|| SQL      || X || X ||
     45|| Troff    ||   || X ||
     46|| TCL      ||   || X ||
     47|| Tex      ||   || X ||
     48|| Verilog  ||   || X ||
     49|| VHDL     ||   || X ||
     50|| Visual Basic |||| X ||
     51|| VRML     ||   || X ||
     52|| XML      ||   || X ||
     53
     54''(*) Supported as inline code blocks in [wiki:WikiFormatting Wiki text] using WikiProcessors.''
     55
     56== Extra Software ==
     57 * GNU Enscript -- http://people.ssh.fi/mtr/genscript/
     58 * !SilverCity -- http://silvercity.sf.net/
     59
     60----
     61See also: WikiProcessors, WikiFormatting.