Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalText ¶
CanonicalText applies the shared lowercase NFC + whitespace-collapsing contract used by heading ids and fragment lookup.
func Normalize ¶
Normalize returns the shared fragment/id slug form derived from visible heading text.
func NormalizeWhitespace ¶
NormalizeWhitespace collapses internal whitespace runs to single spaces.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.