Wiki

Changes between Initial Version and Version 1 of SyntaxHighlighting

Show
Ignore:
Timestamp:
05/04/10 08:56:09 (8 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SyntaxHighlighting

    v1 v1  
     1Syntax highlighting is the display of program source code using different colors and fonts according to the category of terms. 
     2 
     3If you are looking for syntax highlighting from an interactive program, see EditorSupport and [wiki:IDESupport]. 
     4 
     5If you are looking for highlighting from a command line tool, you have two choices: 
     6 
     7You can use "cobra -highlight ..." to emit an HTML version of source code. Because this approach leverages the Cobra compiler, the results are typically the most accurate and savvy. 
     8 
     9You can also use the PygmentsHighlighter to do the same thing. This approach is best when you already have a program such as Trac that is using Pygments by default.