Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeBlock ¶
type CodeBlock struct {
Lang string
Line int
Column int
Parent *Heading // The heading this block appears under
}
CodeBlock represents a code block
type Document ¶
type Document struct {
Path string
Content []byte
AST ast.Node
Root *Section // Root section containing the entire document tree
}
Document represents a parsed Markdown document with hierarchical structure
func (*Document) GetSections ¶
GetSections returns all sections in document order
type FrontMatter ¶
FrontMatter represents document front matter
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser handles Markdown parsing
type Section ¶
type Section struct {
Children []*Section // Nested subsections
Parent *Section // Parent section (nil for root)
Content string
StartLine int
EndLine int
Heading *Heading
CodeBlocks []*CodeBlock
Tables []*Table
Links []*Link
Images []*Image
}
Section represents a section of content under a heading
Click to show internal directories.
Click to hide internal directories.