Documentation ¶
Overview ¶
Package ast defines AST nodes that represents extension's elements
Package ast defines AST nodes that represents extension's elements
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KindHighlight = gast.NewNodeKind("Highlight")
KindHighlight is a NodeKind of the Highlight node.
View Source
var KindStrikethrough = gast.NewNodeKind("Strikethrough")
KindStrikethrough is a NodeKind of the Strikethrough node.
Functions ¶
This section is empty.
Types ¶
type Highlight ¶
type Highlight struct {
gast.BaseInline
}
A Highlight struct represents an html mark.
type Strikethrough ¶
type Strikethrough struct {
gast.BaseInline
}
A Strikethrough struct represents a strikethrough of GFM text.
func NewStrikethrough ¶
func NewStrikethrough() *Strikethrough
NewStrikethrough returns a new Strikethrough node.
func (*Strikethrough) Dump ¶
func (n *Strikethrough) Dump(source []byte, level int)
Dump implements Node.Dump.
func (*Strikethrough) Kind ¶
func (n *Strikethrough) Kind() gast.NodeKind
Kind implements Node.Kind.
Click to show internal directories.
Click to hide internal directories.