Changes between Version 1 and Version 2 of TracSyntaxColoring
- Timestamp:
- Aug 30, 2006, 6:04:11 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracSyntaxColoring
v1 v2 1 1 = 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].2 Trac supports language-specific syntax highlighting of source code in [wiki:WikiFormatting wiki formatted] text and the [wiki:TracBrowser repository browser]. 3 3 4 4 To do this, Trac uses external libraries with support for a great number of programming languages. … … 9 9 * [http://silvercity.sourceforge.net/ SilverCity] 10 10 11 To activate syntax coloring, simply install either one (or more) of these packages. No additional configuration is needed.11 To 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`. 12 12 13 13 When in use, Trac will automatically prioritize !SilverCity highlighting over Enscript if possible, (see note below). … … 40 40 || IDL || || X || 41 41 || Javascript || X || X || 42 42 43 || m4 || || X || 43 44 || Makefile || || X || … … 50 51 || Pyrex || || X || 51 52 || * Python || X || X || 52 || * Ruby || X || X ||53 || * Ruby || X || X (1) || 53 54 || Scheme || || X || 54 55 || Shell || || X || … … 65 66 ''(*) Supported as inline code blocks in [wiki:WikiFormatting Wiki text] using WikiProcessors.'' 66 67 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 67 70 == Extra Software == 68 71 * GNU Enscript -- http://people.ssh.fi/mtr/genscript/