Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IncorrectOptionError = options.ErrIncorrectOption UnsupportedOptionError = options.ErrUnsupportedOption )
Functions ¶
func NewRenderer ¶
func NewRenderer(opts ...options.Option) *mdrenderer.Renderer
NewRenderer returns a new renderer. Use [goldmark.WithExtensions] to add it to a goldmark instance.
func WithIgnoredNodes ¶ added in v0.1.2
WithIgnoredNodes sets up the renderer to ignore a node, proceeding to render its children
func WithThematicBreaks ¶
WithThematicBreaks sets the thematic break tags to use, in the order of preference
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
examples
|
|
mdformat
A simple markdown formatter that reads markdown from a file and writes it back to another file.
|
A simple markdown formatter that reads markdown from a file and writes it back to another file. |
internal
|
|
pkg
|
|
mdexamples
Package mdexamples contains utilities for reading test data.
|
Package mdexamples contains utilities for reading test data. |
Click to show internal directories.
Click to hide internal directories.