Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document struct {
Filename string
TotalTokens int
Sections []*Section
References []Reference // Links to other .md files
}
Document represents a parsed markdown document
func (*Document) GetAllSections ¶
GetAllSections returns a flat list of all sections
func (*Document) GetSection ¶
GetSection finds a section by name (case-insensitive partial match)
type Reference ¶
type Reference struct {
Text string // Link text
Target string // Target file path
Line int // Line number where reference appears
}
Reference represents a link to another markdown file
type Section ¶
type Section struct {
Level int // 1 = #, 2 = ##, etc.
Title string
Content string // raw content (excluding children)
Tokens int // estimated tokens for this section
KeyTerms []string // extracted key concepts
Children []*Section
Parent *Section
LineStart int
LineEnd int
}
Section represents a heading and its content
Click to show internal directories.
Click to hide internal directories.