| CARVIEW |
|
jhighlight
|
| Summary | Small embeddable pure Java library for syntax highlighting |
|---|---|
| Categories | None |
| License | Common Development and Distribution License |
| Owner(s) | gbevin |
JHighlight is an embeddable pure Java syntax highlighting library that supports Java, Groovy, C++, HTML, XHTML, XML and LZX languages and outputs to XHTML.
It 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.
To see a sample, you can browse the RIFE examples, for instance: Game.java and game.html.
This project has been made possible thanks to gracious source code donations of Omnicore Software.
Information
- Author: Geert Bevin
- Copyright (c): Uwyn bvba/sprl and Omnicore Software
Source Code and Documentation
Support
Usage instructions
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
Embedding
Details about integrating JHighlight into your project can be found in the renderer package javadocs.
Command-line
On the commandline, you should call it like this (on one line):
java com.uwyn.jhighlight.JHighlight
[--verbose] [--fragment]
[-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
Servlet filter
Details about using JHighlight as a servlet filter can be found in the HighlightFilter javadocs.
Open Source projects from the same author
| Powered by CollabNet | Feedback |
FAQ |
Press |
Developer tools
© 1995 - 2007 CollabNet. CollabNet is a registered trademark of CollabNet, Inc. |
