commonmark-java
Java library that parses CommonMark Markdown into a syntax tree and renders it to HTML or Markdown.
commonmark-java is a Java library that parses Markdown according to the CommonMark specification into a tree of nodes, and renders that tree to HTML or back to Markdown. A visitor can inspect or change the tree before it is rendered. Extensions such as tables, task list items and front matter ship as separate artifacts and are added to the parser and renderer builders as a list.
Worth knowing
The README says that for 0.x releases the API “is not considered stable yet and may break between minor releases”. The library works on Android on a best-effort basis.
Sources
- 2026-11-04: links, Categories, Runtime
github.com/commonmark/commonmark-java - 2026-11-04: Maintainer
raw.githubusercontent.com/commonmark/commonmark-java/main/LICENSE.txt - 2026-11-04: First release
github.com/commonmark/commonmark-java/releases - 2026-11-04: Written in, License, GitHub stars
api.github.com/repos/commonmark/commonmark-java - 2026-11-04: Install with
raw.githubusercontent.com/commonmark/commonmark-java/main/README.md - 2026-11-04: Current major version, Last release
github.com/commonmark/commonmark-java/releases/tag/commonmark-parent-0.32.0 - 2026-11-04: Contributors
api.github.com/repos/commonmark/commonmark-java/contributors