Breakdown rendering with consumer-supplied markers.
RollResult.rendered bakes one markdown dialect into a string. This module
rebuilds the same breakdown from RollResult.parts, letting the caller
decide how each die is marked — HTML spans, ANSI codes, Telegram
MarkdownV2, or nothing at all. Import it from roll-parser/render.
Breakdown rendering with consumer-supplied markers.
RollResult.renderedbakes one markdown dialect into a string. This module rebuilds the same breakdown fromRollResult.parts, letting the caller decide how each die is marked — HTML spans, ANSI codes, Telegram MarkdownV2, or nothing at all. Import it fromroll-parser/render.