Skip to main content

Streamdown 2.4: More customization, accessibility and custom rendering

By Steven Van ·

Streamdown 2.4 adds icon overrides, RTL text support, fullscreen tables and a Tailwind v4 class prefix for markdown rendering.

Vercel's Vercel-maintained markdown renderer Streamdown 2.4 adds a set of customization hooks alongside accessibility and streaming fixes for developers rendering markdown output.

  • Built-in icons can now be overridden by passing a component map to the icons prop.
  • createCodePlugin now accepts a themes option for light and dark Shiki themes, a startLine meta option for custom starting line numbers, and an inlineCode virtual component for styling inline code separately from blocks.
  • A new dir prop applies left-to-right or right-to-left formatting automatically based on the first strong Unicode character, and a translations prop supports custom languages.
  • Tables gain a fullscreen overlay, controlled via the controls prop, with scroll locking and Escape key support.
  • New onAnimationStart and onAnimationEnd callbacks let developers hook into streaming events.
  • Empty lines no longer collapse in syntax-highlighted code blocks, and ordered lists no longer retrigger animations during streaming.
  • Projects on Tailwind v4 can use a new prefix prop to namespace utility classes and avoid collisions.
Vercel
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →

Read the original announcement →

Read Streamdown 2.4: More customization, accessibility and custom rendering on Creators Toolbox