Skip to content

This goldmark renderer extension adds support for formatting markdown

License

Notifications You must be signed in to change notification settings

mdigger/goldmark-formatter

Repository files navigation

goldmark-formatter

GoDoc

This goldmark renderer extension adds support for formatting markdown.

source := []byte("# Title\nParagraph *em **bold*** [link](/).")
md := goldmark.New(
    goldmark.WithRenderer(formatter.Markdown), // markdown output
)
if err := md.Convert(source, os.Stdout); err != nil {
    log.Fatal(err)
}
Title
=====

Paragraph *em **bold*** [link](/).

About

This goldmark renderer extension adds support for formatting markdown

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages