FindSoftware

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

Status
Active
Maintainer
gomarkdown1
Maintained by
Community3

Adoption

GitHub stars
1,7401
Contributors
924

Why these figures do not compare

Sources

  1. 2026-11-08: links, Maintainer, Written in, GitHub stars
    api.github.com/repos/gomarkdown/markdown
  2. 2026-11-08: links, Categories, Runtime
    github.com/gomarkdown/markdown/blob/master/README.md
  3. 2026-11-08: Maintained by, License, License model
    github.com/gomarkdown/markdown/blob/master/LICENSE.txt
  4. 2026-11-08: Contributors
    api.github.com/repos/gomarkdown/markdown/contributors?per_page=1

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON