https://github.com/codelibs/jhighlight
JHighlight is an embeddable pure Java syntax highlighting library.
https://github.com/codelibs/jhighlight
Last synced: 3 months ago
JSON representation
JHighlight is an embeddable pure Java syntax highlighting library.
- Host: GitHub
- URL: https://github.com/codelibs/jhighlight
- Owner: codelibs
- License: other
- Created: 2014-10-05T09:02:27.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-10-03T23:10:37.000Z (9 months ago)
- Last Synced: 2025-03-29T03:08:44.364Z (3 months ago)
- Language: Java
- Size: 373 KB
- Stars: 18
- Watchers: 7
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
JHighlight
[](https://github.com/codelibs/jhighlight/actions/workflows/maven.yml)
==================## Overview
JHighlight is an embeddable pure Java syntax highlighting library that supports Java, 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.This project is forked from https://jhighlight.dev.java.net/ to fix several bugs.
## Reference
The original jhighlight handles multi-byte characters as garbled one. To solve this problem, replace with CodeLibs jhighlight.
### Tika
Tika uses jhighlight to parse source code files, such as .java.
If a source code file has a multi-byte chracter, it becomes a garbled one.
To avoid this problem, change your pom.xml to:
org.apache.tika
tika-parsers
1.6
com.uwyn
jhighlight
org.codelibs
jhighlight
1.0.2