Changes between Initial Version and Version 1 of TracSyntaxColoring


Ignore:
Timestamp:
11/17/04 15:27:56 (16 years ago)
Author:
trac
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[[br]]'''Note:''' ''Syntax Coloring is only available on trac >= 0.7.''
     14
     15== Syntax Coloring Support ==
     16
     17|| || !SilverCity || Enscript ||
     18|| Ada      ||   || X ||
     19|| Asm      ||   || X ||
     20|| * ASP    || X || X ||
     21|| * C      || X || X ||
     22|| * C++    || X || X ||
     23|| * Java   ||   || X ||
     24|| Awk      ||   || X ||
     25|| CSS      || X ||   ||
     26|| Diff     ||   || X ||
     27|| Eiffel   ||   || X ||
     28|| Elisp    ||   || X ||
     29|| Fortran  ||   || X ||
     30|| Haskell  ||   || X ||
     31|| HTML     || X || X ||
     32|| IDL      ||   || X ||
     33|| Javascript || X || X ||
     34|| m4       ||   || X ||
     35|| Makefile ||   || X ||
     36|| Matlab   ||   || X ||
     37|| Objective-C|| || X ||
     38|| Pascal   ||   || X ||
     39|| * Perl   || X || X ||
     40|| * PHP    || X || X ||
     41|| PSP      || X ||   ||
     42|| Pyrex    ||   || X ||
     43|| * Python || X || X ||
     44|| * Ruby   || X || X ||
     45|| Scheme   ||   || X ||
     46|| Shell    ||   || X ||
     47|| SQL      || X || X ||
     48|| Troff    ||   || X ||
     49|| TCL      ||   || X ||
     50|| Tex      ||   || X ||
     51|| Verilog  ||   || X ||
     52|| VHDL     ||   || X ||
     53|| Visual Basic |||| X ||
     54|| VRML     ||   || X ||
     55|| XML      || X || X ||
     56
     57''(*) Supported as inline code blocks in [wiki:WikiFormatting Wiki text] using WikiProcessors.''
     58
     59== Extra Software ==
     60 * GNU Enscript -- http://people.ssh.fi/mtr/genscript/
     61 * !SilverCity -- http://silvercity.sf.net/
     62
     63----
     64See also: WikiProcessors, WikiFormatting, TracWiki, TracBrowser.