Helping ordinary people create extraordinary websites!


Text_Highlighter

Provides functionality to perform syntax highlighting for different file formats.

Output Customization

The default behaviour of Text_Highlighter is to generate a syntax highlighted HTML version of the input.

It is possible to instead generate output that is suitable for being displayed on color-capable terminals such as xterm or through less(1) by telling Text_Highlighter to use another renderer:

Also it is possible to further customize the output of both the HTML- and the console-renderer by passing an associative array of options to the constructor:

The following options are applicable: