pub fn render(markup: &str) -> TextExpand description
Parse markup and return a Text with applied styles.
Uses byte-based scanning (since [ and ] are ASCII single-byte) to
avoid allocating a Vec<char>. Literal text is sanitized to prevent
raw ANSI escape injection.