Versions in this module Expand all Collapse all v0 v0.19.4 May 24, 2023 Changes in this version + var KindBlock = ast.NewNodeKind("MathBlock") + var KindInline = ast.NewNodeKind("MathInline") + var Math = &Extension + func NewBlockParser(parseDollarBlocks bool) parser.BlockParser + func NewBlockRenderer() renderer.NodeRenderer + func NewInlineBracketParser() parser.InlineParser + func NewInlineDollarParser() parser.InlineParser + func NewInlineRenderer() renderer.NodeRenderer + type Block struct + Closed bool + Dollars bool + Indent int + func NewBlock(dollars bool, indent int) *Block + func (n *Block) Dump(source []byte, level int) + func (n *Block) IsRaw() bool + func (n *Block) Kind() ast.NodeKind + type BlockRenderer struct + func (r *BlockRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer) + type Extension struct + func NewExtension(opts ...Option) *Extension + func (e *Extension) Extend(m goldmark.Markdown) + type Inline struct + func NewInline() *Inline + func (n *Inline) Dump(source []byte, level int) + func (n *Inline) Inline() + func (n *Inline) IsBlank(source []byte) bool + func (n *Inline) Kind() ast.NodeKind + type InlineRenderer struct + func (r *InlineRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer) + type Option interface + SetOption func(e *Extension) + func Enabled(enable ...bool) Option + func WithBlockDollarParser(enable ...bool) Option + func WithInlineDollarParser(enable ...bool) Option