package
Version:
v3.0.1+incompatible
Opens a new window with list of versions in this module.
Published: Apr 20, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package node holds the syntax tree nodes for a parse minidown document.
type Block struct {
Children []Node
}
Block represents a collection of nodes in sequential order.
Emphasis represents a emphasis node.
type Heading struct {
Scale int
Body Node
}
Heading represents a heading node.
type Link struct {
Body Node
Target Node
}
Link represents a link in the form: [body](target).
NewLine represents a blank new line.
Node represents a node in a minidown document graph.
Tag represents a tag in the form: {{identifier:type}}, where "type" is
optional and is "string" by default.
type Text struct {
Text string
}
Text represent a block of text.
Whitespace represent a whitespace.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.