vsch/flexmark-java
CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules. observed · 2026-08-28
Health v2 · maintenance only
39/100
- Activity 16
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3875
- days_rel: n/a
- days_push: 504
- n_releases_24m: 0
Adoption not part of the score
2640 stars · 302 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
flexmark-java is a fast, extensible Java parser for CommonMark/Markdown that produces a source-position-aware AST and renders HTML, with emulation modes for pegdown, kramdown, markdown.pl, and MultiMarkdown. It also ships conversion modules for HTML to Markdown, Markdown to PDF, and Markdown to DOCX.
Use cases
- parse markdown into an AST in Java
- convert markdown to HTML
- convert HTML back to markdown
- render markdown documents to PDF
- convert markdown to DOCX
- replace pegdown with a faster markdown parser
- emulate kramdown or MultiMarkdown rendering in Java
When to choose
- you need a high-performance, CommonMark-compliant Markdown parser on the JVM
- you need detailed source positions in the AST for editor tooling or syntax highlighting
- you need to mimic the output of other Markdown processors like pegdown or kramdown
- you need Markdown conversion to HTML, PDF, or DOCX in a Java application
When to avoid
- you need a Markdown parser in a non-JVM language
- you only need simple Markdown rendering and a lighter-weight library suffices
- you need strict compliance with a newer CommonMark spec than 0.28
Facets
library · maturity stable
parser markdown templating pdf serialization parsers documentation developer-tools text-editors jvm cross-platform commonmark markdown-parser markdown-to-html html-to-markdown markdown-to-pdf markdown-to-docx pegdown-emulation ast extensible
1 source
- readme: https://github.com/vsch/flexmark-java · fetched 2026-08-28 · 646ce2e97060
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vsch/flexmark-java | main | 39 |
For agents
markdown · JSON · MCP: product_card(name="vsch/flexmark-java")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem