Streamdown is a React component library that makes rendering streaming markdown content easy and beautiful. Built for AI-powered applications, it handles the unique challenges that arise when markdown is tokenized and streamed in real time.
v2.5 adds inline KaTeX support, staggered streaming animations, and a round of fixes for code blocks, CSV exports, and better Tailwind v3 compatibility.
Streaming parser improvements
The new inlineKatex option auto-completes $formula to $formula$ during streaming, avoiding ambiguity with currency symbols, and the option defaults to false . Block KaTeX completion is also fixed when streaming produces a partial closing $ .
Separately, single ~ between word characters (e.g. 20~25°C ) is now escaped to prevent false strikethrough rendering, controlled via a new singleTilde option that is enabled by default.
Staggered streaming animations
Streaming word and character animations now cascade sequentially rather than animating all at once.…