Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseInline ¶ added in v0.18.1
type BaseInline struct {
BaseNode
}
type BaseNode ¶ added in v0.18.1
type BaseNode struct {
// contains filtered or unexported fields
}
func (*BaseNode) NextSibling ¶ added in v0.18.1
func (*BaseNode) PrevSibling ¶ added in v0.18.1
func (*BaseNode) SetNextSibling ¶ added in v0.18.1
func (*BaseNode) SetPrevSibling ¶ added in v0.18.1
type Blockquote ¶ added in v0.18.1
func (*Blockquote) Type ¶ added in v0.18.1
func (*Blockquote) Type() NodeType
type Bold ¶ added in v0.18.1
type Bold struct { BaseInline // Symbol is "*" or "_". Symbol string Content string }
type BoldItalic ¶ added in v0.18.1
type BoldItalic struct { BaseInline // Symbol is "*" or "_". Symbol string Content string }
func (*BoldItalic) Type ¶ added in v0.18.1
func (*BoldItalic) Type() NodeType
type Code ¶ added in v0.18.1
type Code struct { BaseInline Content string }
type HorizontalRule ¶ added in v0.18.1
func (*HorizontalRule) Type ¶ added in v0.18.1
func (*HorizontalRule) Type() NodeType
type Image ¶ added in v0.18.1
type Image struct { BaseInline AltText string URL string }
type Italic ¶ added in v0.18.1
type Italic struct { BaseInline // Symbol is "*" or "_". Symbol string Content string }
type Link ¶ added in v0.18.1
type Link struct { BaseInline Text string URL string }
type Node ¶
type Node interface { // Type returns a node type. Type() NodeType // PrevSibling returns a previous sibling node of this node. PrevSibling() Node // NextSibling returns a next sibling node of this node. NextSibling() Node // SetPrevSibling sets a previous sibling node to this node. SetPrevSibling(Node) // SetNextSibling sets a next sibling node to this node. SetNextSibling(Node) }
type Strikethrough ¶ added in v0.18.1
type Strikethrough struct { BaseInline Content string }
func (*Strikethrough) Type ¶ added in v0.18.1
func (*Strikethrough) Type() NodeType
type Tag ¶ added in v0.18.1
type Tag struct { BaseInline Content string }
Click to show internal directories.
Click to hide internal directories.