Introduction

With Text_Highlighter it is possible to create syntax highlighted versions of different file formats.

Currently, the following formats are supported:

  • ABAP
  • C++
  • CSS
  • output of diff(1)
  • DTD
  • HTML
  • Java
  • Javascript
  • MySQL
  • Perl
  • PHP
  • Python
  • Ruby
  • sh
  • SQL
  • VBScript
  • XML

There are different options for getting the results of the highlighting, through the use of renderers. The list of renderers is as follows.

  • Array
  • Console
  • HTML - using span-tags containing a CSS class name, this is the default renderer
  • HTMLTags - using simple set of tags, only B, I and U, useful for devices that support only a subset of HTML (example is an iPod)
  • JSON
  • XML
Text_Highlighter (Previous) Usage (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.