Documentation ¶
Index ¶
- type GParser
- func (v *GParser) Error() error
- func (v *GParser) FilteredBlocks(l loader.Label) (result []*loader.CodeBlock)
- func (v *GParser) RenderedMdFiles() []*parsren.RenderedMdFile
- func (v *GParser) Reset()
- func (v *GParser) VisitFile(fi *loader.MyFile)
- func (v *GParser) VisitFolder(fl *loader.MyFolder)
- func (v *GParser) VisitTopFolder(fl *loader.MyTopFolder)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GParser ¶
type GParser struct {
// contains filtered or unexported fields
}
GParser is a MyFolder tree visitor that both parses and renders markdown. It uses the goldmark parser/renderer to do both.
func NewGParser ¶
func NewGParser() *GParser
func (*GParser) FilteredBlocks ¶
FilteredBlocks returns a slice of filtered code blocks from the entire tree.
func (*GParser) RenderedMdFiles ¶
func (v *GParser) RenderedMdFiles() []*parsren.RenderedMdFile
func (*GParser) VisitFolder ¶
func (*GParser) VisitTopFolder ¶
func (v *GParser) VisitTopFolder(fl *loader.MyTopFolder)
Click to show internal directories.
Click to hide internal directories.