Render syntax-highlighted code as cel-tui primitives.
Uses lextide synchronously at the component boundary while keeping a
streaming parser state per language/theme cache entry. Append-only updates
apply lextide's recall/stable/unstable deltas, while non-append edits reset
the stream and replay the full snippet.
Unknown languages render as plain text. The default theme is terminal-friendly
and maps lextide token classes onto cel's ANSI palette slots while leaving
base text on terminal defaults.
Render syntax-highlighted code as cel-tui primitives.
Uses lextide synchronously at the component boundary while keeping a streaming parser state per language/theme cache entry. Append-only updates apply lextide's recall/stable/unstable deltas, while non-append edits reset the stream and replay the full snippet.
Unknown languages render as plain text. The default theme is terminal-friendly and maps lextide token classes onto cel's ANSI palette slots while leaving base text on terminal defaults.