This module uses the PEAR package Text_Highlighter to color your code according to the syntax rules of various languages. The Text_Highlighter library can be extended with new language definitions in the form of an XML file.

Syntax coloration is provided in the form of two different input filters: The module can either treat the whole input as code, or look for specific code tags in mixed input text.

You will require the Text_Highlighter library to use this module:

Note: Text_Highlighter is currently not maintained, and no stable release exists. Whether this module will continue to be actively developed depends on the future of the PEAR library.

Update: The PEAR library is unmaintained and has not been updated in nearly a year. This module should therefore be considered deprecated. Open to restarting development based on a different library.

Project Information