Documentation ¶
Index ¶
Constants ¶
View Source
const ( SectionStartFormat = "<!-- section-start %s -->\n" SectionEndFormat = "\n<!-- section-end %s -->" )
Variables ¶
View Source
var Section = §ion{}
Section is an extension that allow you to use group content under a shared parent ast node.
Functions ¶
func NewSectionMarkdownRenderer ¶ added in v0.3.0
func NewSectionMarkdownRenderer() renderer.NodeRenderer
func NewSectionParser ¶
func NewSectionParser() parser.BlockParser
NewSectionParser returns a new BlockParser that can parse a section block. Section blocks can be used to group various nodes under a parent ast node. This parser must take precedence over the parser.HTMLParser.
Types ¶
type SectionMarkdownRenderer ¶ added in v0.3.0
type SectionMarkdownRenderer struct{}
func (SectionMarkdownRenderer) RegisterFuncs ¶ added in v0.3.0
func (s SectionMarkdownRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)
Click to show internal directories.
Click to hide internal directories.