parser

package
v0.0.0-...-0acd97b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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

type ConfluenceIDs struct {
	Values map[string]bool
}

func (*ConfluenceIDs) Put

func (s *ConfluenceIDs) Put(value []byte)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL