Expand description
Link- and footnote-reference tables. CM 4.7 + 6.3 + GFM footnotes require
a two-pass parse: harvest all definitions first, then resolve [label] /
[text][label] / [label][] references during the main parse.
Structs§
Functions§
- normalize_
label - CM 4.7: case-fold + whitespace-collapse, leading/trailing trimmed.
Backslash escapes are NOT unescaped here, so
[foo\!]and[foo!]match different labels. - parse_
link_ ref_ def - Parse a
LinkRefDeflexeme into(label, url, title). The lexer already validated gross structure; failures here mean missing]/:.
Type Aliases§
- LinkRef
- Destination URL + optional title.