Documentation
¶
Overview ¶
Package attributes provides a goldmark extension for inline attributes. It allows you to add HTML attributes to inline elements using the syntax: [text content]{.class key="value"}
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Enable = goldmark.WithExtensions(Extension)
Enable is a goldmark.Option with inline attributes support.
View Source
var Extension goldmark.Extender = new(Extender)
Extension is a goldmark.Extender with markdown inline attributes support.
View Source
var Kind = ast.NewNodeKind("InlineAttributes")
Kind is the kind of inline attributes AST nodes.
Functions ¶
func NewAttributesParser ¶
func NewAttributesParser() parser.InlineParser
NewAttributesParser return a new InlineParser that parses inline attributes like '[txt]{.underline}' .
Types ¶
Click to show internal directories.
Click to hide internal directories.