Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ExtractTableOfContents ¶
func (p *Parser) ExtractTableOfContents(source []byte) []modules.TableOfContentsItem
ExtractTableOfContents extracts headings from markdown to build a TOC
type ShikiCodeBlockRenderer ¶
type ShikiCodeBlockRenderer struct{}
ShikiCodeBlockRenderer renders code blocks with Shiki highlighting
func (*ShikiCodeBlockRenderer) RegisterFuncs ¶
func (r *ShikiCodeBlockRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)
Click to show internal directories.
Click to hide internal directories.