Syntax Highlight
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Syntax Highlight is an easy to use, configurable Drupal module. It is a filter that may be applied to any text format, especially the "Filtered HTML" format.
Syntax Highlight does not, by itself, provide any highlighting, but instead relies on two libraries that do. It leverages two existing syntax highlighting libraries: SyntaxHighlighter (http://alexgorbatchev.com/SyntaxHighlighter/) and GeSHi (http://qbnz.com/highlighter/). It provides the module level Drupal glue to apply either of these libraries (configurable) for a client-side or server-side solution.
The Syntax Highlight filter searches for all delimited text in a content node, replacing their text and delimiter with either client- or server-side markup calls.
Delimited code looks like this:
--- languagename your code ---
