Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KindStepItem = gast.NewNodeKind("StepItem")
KindStepItem is the NodeKind for StepItem.
View Source
var KindStepsBlock = gast.NewNodeKind("StepsBlock")
KindStepsBlock is the NodeKind for StepsBlock.
Functions ¶
func NewRenderer ¶
func NewRenderer() renderer.NodeRenderer
NewRenderer returns a new steps renderer.
Types ¶
type Extension ¶
type Extension struct{}
Extension is a goldmark extension that adds steps block support.
type StepItem ¶
type StepItem struct {
gast.BaseBlock
Title string
Index int // 1-based step number
HeadingLevel int // 2 or 3, matching the source heading
}
StepItem is an AST node representing a single step within a StepsBlock.
type StepsBlock ¶
StepsBlock is an AST node representing a steps container.
func (*StepsBlock) Dump ¶
func (n *StepsBlock) Dump(source []byte, level int)
Dump implements ast.Node.Dump.
Click to show internal directories.
Click to hide internal directories.