Vercel

Streamdown v2.4 Adds Customization, i18n, and Developer Experience Features


Executive Summary

Streamdown has released version 2.4, a significant update for its developer-focused markdown rendering tool. The release introduces extensive customization options, including themeable code blocks, overridable icons, and CSS class namespacing for Tailwind v4 compatibility. It also adds key accessibility and internationalization features like automatic text direction and translation support, alongside bug fixes and new event hooks.

Key Takeaways

* Enhanced Customization: Developers can now override default icons, apply separate light/dark themes to code blocks, style inline code independently, and set custom starting line numbers.

* Internationalization (i18n) & Accessibility: The component now supports custom languages via a `translations` prop and automatic right-to-left (RTL) or left-to-right (LTR) text direction via a `dir` prop.

* Improved Developer Experience: New event hooks (`onAnimationStart`, `onAnimationEnd`) provide more control over streaming animations. A new `prefix` prop namespaces utility classes to avoid collisions in projects using Tailwind v4.

* UI & Bug Fixes: Tables now include a fullscreen overlay. The update resolves issues with empty lines collapsing in code blocks and prevents ordered lists from re-triggering animations during streaming.

Strategic Importance

This update positions Streamdown as a more versatile and production-ready markdown rendering solution, appealing to a broader base of developers with complex customization and internationalization requirements.

Original article