package goldmark

Import Path
	github.com/yuin/goldmark (on go.dev)

Dependency Relation
	imports 6 packages, and imported by 3 packages

Involved Source Files Package goldmark implements functions to convert markdown text to a desired format.
Package-Level Type Names (total 4, in which 3 are exported)
/* sort exporteds by: | */
An Extender interface is used for extending Markdown. Extend extends the Markdown. func github.com/yuin/goldmark/extension.NewFootnote(opts ...extension.FootnoteOption) Extender func github.com/yuin/goldmark/extension.NewLinkify(opts ...extension.LinkifyOption) Extender func github.com/yuin/goldmark/extension.NewTable(opts ...extension.TableOption) Extender func github.com/yuin/goldmark/extension.NewTypographer(opts ...extension.TypographerOption) Extender func github.com/yuin/goldmark-emoji.New(opts ...emoji.Option) Extender func WithExtensions(ext ...Extender) Option
A Markdown interface offers functions to convert Markdown text to a desired format. Convert interprets a UTF-8 bytes source in Markdown and write rendered contents to a writer w. Parser returns a Parser that will be used for conversion. Parser returns a Renderer that will be used for conversion. SetParser sets a Parser to this object. SetRenderer sets a Renderer to this object. func New(options ...Option) Markdown func Extender.Extend(Markdown)
Option is a functional option type for Markdown objects. func WithExtensions(ext ...Extender) Option func WithParser(p parser.Parser) Option func WithParserOptions(opts ...parser.Option) Option func WithRenderer(r renderer.Renderer) Option func WithRendererOptions(opts ...renderer.Option) Option func New(options ...Option) Markdown
Package-Level Functions (total 9, all are exported)
Convert interprets a UTF-8 bytes source in Markdown and write rendered contents to a writer w.
DefaultParser returns a new Parser that is configured by default values.
DefaultRenderer returns a new Renderer that is configured by default values.
New returns a new Markdown with given options.
WithExtensions adds extensions.
WithParser allows you to override the default parser.
WithParserOptions applies options for the parser.
WithRenderer allows you to override the default renderer.
WithRendererOptions applies options for the renderer.
Package-Level Variables (only one, which is unexported)