Expand description
Inline styling inside a text param:
*word*: the emphasis style, set by the node’sem_*params.[words]{color=#ffd23f weight=800 font="Instrument Serif"}: a span with its own attributes (color, font, weight, style, size, highlight, underline, rise).\*,\[and\\set the characters themselves. A*without a partner, or brackets without{...}after them, stay literal.
Structs§
- Span
- A styled byte range of the plain text.
Enums§
Functions§
- escape
- Escapes
sso markup sets it literally. - has_
markup - Whether
shas anything markup would change. - parse
- The plain text and its styled spans.
- plain
- The text a reader sees: markup removed.