{"id":21994452,"url":"https://github.com/codelibs/jhighlight","last_synced_at":"2025-04-05T04:12:42.008Z","repository":{"id":21493200,"uuid":"24812098","full_name":"codelibs/jhighlight","owner":"codelibs","description":"JHighlight is an embeddable pure Java syntax highlighting library.","archived":false,"fork":false,"pushed_at":"2024-10-03T23:10:37.000Z","size":382,"stargazers_count":18,"open_issues_count":4,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-29T03:08:44.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codelibs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-10-05T09:02:27.000Z","updated_at":"2025-02-12T10:36:23.000Z","dependencies_parsed_at":"2024-12-27T12:01:05.595Z","dependency_job_id":null,"html_url":"https://github.com/codelibs/jhighlight","commit_stats":{"total_commits":40,"total_committers":6,"mean_commits":6.666666666666667,"dds":"0.22499999999999998","last_synced_commit":"f682328c4da045c8deefabec88f8d41460fb46cc"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelibs%2Fjhighlight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelibs%2Fjhighlight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelibs%2Fjhighlight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelibs%2Fjhighlight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codelibs","download_url":"https://codeload.github.com/codelibs/jhighlight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284951,"owners_count":20913704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T21:09:13.381Z","updated_at":"2025-04-05T04:12:41.987Z","avatar_url":"https://github.com/codelibs.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"JHighlight\n[![Java CI with Maven](https://github.com/codelibs/jhighlight/actions/workflows/maven.yml/badge.svg)](https://github.com/codelibs/jhighlight/actions/workflows/maven.yml)\n==================\n\n## Overview\n\nJHighlight is an embeddable pure Java syntax highlighting library that supports Java, HTML, XHTML, XML and LZX languages and outputs to XHTML.\nIt 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.\n\nThis project is forked from https://jhighlight.dev.java.net/ to fix several bugs.\n\n## Reference\n\nThe original jhighlight handles multi-byte characters as garbled one. To solve this problem, replace with CodeLibs jhighlight.\n\n### Tika\n\nTika uses jhighlight to parse source code files, such as .java.\nIf a source code file has a multi-byte chracter, it becomes a garbled one.\nTo avoid this problem, change your pom.xml to:\n\n    \u003cdependency\u003e\n      \u003cgroupId\u003eorg.apache.tika\u003c/groupId\u003e\n      \u003cartifactId\u003etika-parsers\u003c/artifactId\u003e\n      \u003cversion\u003e1.6\u003c/version\u003e\n      \u003cexclusions\u003e\n        \u003cexclusion\u003e\n          \u003cgroupId\u003ecom.uwyn\u003c/groupId\u003e\n          \u003cartifactId\u003ejhighlight\u003c/artifactId\u003e\n        \u003c/exclusion\u003e\n      \u003c/exclusions\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n      \u003cgroupId\u003eorg.codelibs\u003c/groupId\u003e\n      \u003cartifactId\u003ejhighlight\u003c/artifactId\u003e\n      \u003cversion\u003e1.0.2\u003c/version\u003e\n    \u003c/dependency\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodelibs%2Fjhighlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodelibs%2Fjhighlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodelibs%2Fjhighlight/lists"}