go-commonmark

go-commonmark

Pure-Go CommonMark.

Documentation GitHub

What is go-commonmark?

go-commonmark is a pure-Go (CGO_ENABLED=0) CommonMark renderer: it parses CommonMark v0.31.2 into a node tree and renders an HTML fragment, with optional GFM extensions behind Options — no cgo binding to libcmark and no third-party dependencies. It passes all 652/652 spec examples byte-exact and compiles to js/wasm for offline Markdown preview.

Packages

1 module(s) — generated from the org's repos.

CM
commonmark
Strict CommonMark v0.31.2 Markdown-to-HTML renderer — 652/652 spec, byte-exact, GFM behind Options.