• 1 min read Streamdown 2.3 enhances design consistency by applying a unified nested-card design to tables, code blocks, and Mermaid diagrams. • Action buttons now remain sticky during scroll, and code blocks render plain text immediately to reduce perceived latency before syntax highlighting loads. • To accelerate testing, the new interactive playground supports real-time execution with custom markdown and editable props. • This enables faster experimentation with configuration changes without spinning up a local project. • New hooks and utilities provide improved control over rendering. • The useIsCodeFenceIncomplete hook detects in-progress fenced code blocks during streaming.
Article Summaries:
- Streamdown 2.3 introduces a unified nested‑card design for tables, code blocks, and Mermaid diagrams, improving visual consistency. Action buttons stay sticky during scroll, and code blocks now display plain text instantly to reduce perceived latency before syntax highlighting. A new interactive playground allows real‑time execution with custom markdown and editable props, speeding up configuration testing without local setup. Added hooks (e.g.,
useIsCodeFenceIncomplete) and utilities enhance rendering control, while tables support Markdown copy and an HTML indentation normalization property fixes whitespace issues. Image rendering now includes custom error messages. Documentation has been reorganized, with dedicated pages for CJK, Math, and Mermaid plugins, and the release resolves several parsing, rendering, and engine bugs, clearing the backlog.
Sources: