Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KindHashtag = ast.NewNodeKind("Hashtag")
KindHashtag is a NodeKind of the Hashtag node.
Functions ¶
func NewHTMLRenderer ¶
func NewHTMLRenderer() renderer.NodeRenderer
NewHTMLRenderer builds a new HTMLRenderer with given options and returns it.
Types ¶
type HTMLRenderer ¶
type HTMLRenderer struct{}
HTMLRenderer struct is a renderer.NodeRenderer implementation for the extension.
func (*HTMLRenderer) RegisterFuncs ¶
func (r *HTMLRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)
RegisterFuncs implements NodeRenderer.RegisterFuncs.
type Hashtag ¶
Hashtag struct represents a Hashtag of the Markdown text.
func NewHashtag ¶
NewHashtag returns a new Hashtag node.
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser implements the goldmark parser.Parser interface
func NewParser ¶
func NewParser() *Parser
NewParser gives you back a parser that you can use to process hashtags.
func (*Parser) WithNormalizer ¶
WithNormalizer is the fluent interface for replacing the default normalizer plugin.
Click to show internal directories.
Click to hide internal directories.