Documentation ¶
Index ¶
- Variables
- func New() *_CustomBreak
- func NewCustomBreakParser() parser.BlockParser
- type CustomBreak
- type CustomBreakParser
- func (b *CustomBreakParser) CanAcceptIndentedLine() bool
- func (b *CustomBreakParser) CanInterruptParagraph() bool
- func (b *CustomBreakParser) Close(node ast.Node, reader text.Reader, pc parser.Context)
- func (b *CustomBreakParser) Continue(node ast.Node, reader text.Reader, pc parser.Context) parser.State
- func (b *CustomBreakParser) Open(parent ast.Node, reader text.Reader, pc parser.Context) (ast.Node, parser.State)
- func (b *CustomBreakParser) Trigger() []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var KindCustomBreak = ast.NewNodeKind("CustomBreak")
KindCustomBreak is a NodeKind of the CustomBreak node.
Functions ¶
func NewCustomBreakParser ¶
func NewCustomBreakParser() parser.BlockParser
NewCustomBreakParser returns a new BlockParser that parses thematic breaks.
Types ¶
type CustomBreak ¶
A CustomBreak struct represents a thematic break of Markdown text.
func NewCustomBreak ¶
func NewCustomBreak(content string) *CustomBreak
NewCustomBreak returns a new CustomBreak node.
func (*CustomBreak) Dump ¶
func (n *CustomBreak) Dump(source []byte, level int)
Dump implements Node.Dump .
type CustomBreakParser ¶
type CustomBreakParser struct { }
func (*CustomBreakParser) CanAcceptIndentedLine ¶
func (b *CustomBreakParser) CanAcceptIndentedLine() bool
func (*CustomBreakParser) CanInterruptParagraph ¶
func (b *CustomBreakParser) CanInterruptParagraph() bool
func (*CustomBreakParser) Trigger ¶
func (b *CustomBreakParser) Trigger() []byte
Click to show internal directories.
Click to hide internal directories.