Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokenLink ¶
BrokenLink represents a broken link in output
type Link ¶
type Link struct {
Raw string // "[[Note#Heading|alias]]"
Target string // "Note" (before # or |)
Heading string // "Heading" (optional)
Alias string // "alias" (optional)
IsEmbed bool // true if "![[..."
Line int // line number in file
}
Link represents a wiki link found in a markdown file
type ValidationResult ¶
type ValidationResult struct {
BrokenLinks map[string][]BrokenLink // file path -> broken links
}
ValidationResult contains all broken links grouped by file
Click to show internal directories.
Click to hide internal directories.