gomarkdown
Go library that parses Markdown and renders it as HTML, with an optional CommonMark mode.
gomarkdown is a Go library that parses Markdown text and renders it as HTML. A parser turns the text into a syntax tree defined in its ast package, an HTML renderer writes the tree out, and a Markdown renderer writes a tree back to Markdown. A CommonMark mode builds the same tree, so custom renderers and tree transforms still apply. The HTML renderer has flags for untrusted input that limit what it keeps. The repository also contains a command-line tool, mdtohtml, that converts a Markdown file to HTML.
Worth knowing
The project is a fork of the v2 line of Blackfriday, with its API split into separate ast, parser and html packages. The repository has no release objects or tags, and the README names no version.
Identity
Adoption
Sources
- 2026-11-08: links, Maintainer, Written in, GitHub stars
api.github.com/repos/gomarkdown/markdown - 2026-11-08: links, Categories, Runtime
github.com/gomarkdown/markdown/blob/master/README.md - 2026-11-08: Maintained by, License, License model
github.com/gomarkdown/markdown/blob/master/LICENSE.txt - 2026-11-08: Contributors
api.github.com/repos/gomarkdown/markdown/contributors?per_page=1