Convert Markdown With cmark
Render Markdown to HTML with a fast, standards-compliant parser.
Run cmark README.md to print the rendered HTML.
01Command
Command
$ cmark README.md02What it does
cmark is the reference implementation of CommonMark, so it behaves predictably across tools. It reads Markdown and writes HTML, XML, man pages or a CommonMark AST, which makes it useful in text pipelines.
03Risk
!Warning: It follows CommonMark strictly; extensions such as tables and footnotes need a different processor.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Debian package: cmarkEvidence: Debian packages cmark, the reference CommonMark implementation.
- cmarkEvidence: Debian packages cmark, the reference CommonMark implementation.
Last verified: 2026-09-22 · Category: Developer