Expand description
Minimal inline-markup parser for label text.
Supports:
[label](url)— inline link*italic*— italic run**bold**— bold run
Escapes: \[, \], \(, \), \*, \\. Unclosed markers fall back
to literal text — the parser never throws input away. Nesting works in
the obvious cases (**bold *italic* bold**, [**bold link**](url)).
This module is independent of text-document: it only produces a small
InlineMarkup representation that Typesetter::layout_single_line_markup
and Typesetter::layout_paragraph_markup consume for tooltip / rich
label content.
Structs§
- Inline
Attrs - Per-span style attributes. Link is orthogonal and carried on
InlineSpan::link_urldirectly. - Inline
Markup - Parsed input ready for shaping. Preserves the original source for diagnostics and round-tripping.
- Inline
Span - One parsed span of a minimally-marked-up string.