Registry / serialization / golang-commonmark-markdown

golang-commonmark-markdown

JSON →
library0.0.0-20211110145824-bf3e522c626agogounverified

CommonMark-compliant markdown parser and renderer for Go.

go get gitlab.com/golang-commonmark/markdown
INSTALL
IMPORT
SIG · GOLANG-COMMONMARK-
G
golang-commonmark-markdown
serializationgov0.0.0-20211110145824-bf3e522c626a
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

markdown
gitlab.com/golang-commonmark/markdown

Render a markdown string to HTML.

package main import ( "fmt" "gitlab.com/golang-commonmark/markdown" ) func main() { md := markdown.New() html := md.RenderToString([]byte("# Hello World")) fmt.Println(html) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20211110145824-bf3e522c626alatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
golang-commonmark-markdown — go get golang-commonmark-markdown · libregistry