Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PreprocessMarkdown ¶
Types ¶
type CodeBlock ¶
type CodeBlock struct {
Lang string
Content string
Preview string
LineCount int
Line int
StartCol int
EndCol int
StartLine int
EndLine int
}
func ExtractCodeBlocks ¶
type DocLink ¶
type DocLink struct {
Label string
RawText string // original markdown link text, used for line detection
URL string
IsInternal bool
ResolvedPath string
Line int // 0-based line in rendered content (-1 if not found)
StartCol int
EndCol int
}
func ExtractLinks ¶
func ExtractLinks(md, currentFile, rendered string, entries []navigation.NavEntry) []DocLink
Click to show internal directories.
Click to hide internal directories.