JHighlight 1.0 reviewDownload
JHighlight is an embeddable Java syntax highlighting library that supports Java, Groovy, C++, HTML, XHTML, XML, and LZX languages and outputs to XHTML.
The library can be used in several ways: embedded into another tool (for instance a blog or forum), through the command-line to generate highlighted files locally, or as a servlet filter to highlight source files on your server on-the- fly.
JHighlight project also supports RIFE templates tags and highlights them clearly so that you can easily identify the difference between your RIFE markup and the actual marked up source.
The library can be used in several ways:
embedded into another tool (for instance a blog or forum)
through the commandline to generate highlighted files locally
as a servlet filter to highlight source files on your server on-the-fly
On the commandline, you should call it like this (on one line):
[-d destdir] [-e encoding] file|dir ...
--verbose Output messages about what the parser is doing.
--fragment Output fragments instead of complete documents.
-d Specify the destination directory
-e Specify the encoding of the files
What's New in This Release:
Finalizes the API, adds support for Groovy and C++ highlighting, and has various contributions to improve embedability.
JHighlight 1.0 search tags