Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfluenceTagParser ¶
func NewConfluenceTagParser() parser.InlineParser
NewConfluenceTagParser returns an inline parser that parses <ac:* /> and <ri:* /> tags to ensure that Confluence specific tags are parsed as ast.KindRawHtml so they are not escaped at render time. The parser must be registered with a higher priority than goldmark's linkParser. Otherwise, the linkParser would parse the <ac:* /> tags.
Types ¶
type ConfluenceIDs ¶
func (*ConfluenceIDs) Generate ¶
func (s *ConfluenceIDs) Generate(value []byte, kind ast.NodeKind) []byte
https://github.com/yuin/goldmark/blob/d9c03f07f08c2d36f23afe52dda865f05320ac86/parser/parser.go#L75
func (*ConfluenceIDs) Put ¶
func (s *ConfluenceIDs) Put(value []byte)
Click to show internal directories.
Click to hide internal directories.