Streamdown 2.5 released
Streamdown 2.5 adds inline KaTeX support and staggered streaming animations for React components that render streaming markdown in AI applications. The release includes parser improvements, enhanced code block rendering with horizontal scrolling, and fixes for CSV exports and Tailwind v3 compatibility.
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 option auto-completes to during streaming, avoiding ambiguity with currency symbols, and the option defaults to . Block KaTeX completion is also fixed when streaming produces a partial closing .inlineKatex$formula$formula$false$
Separately, single between word characters (e.g. ) is now escaped to prevent false strikethrough rendering, controlled via a new option that is enabled by default.~20~25°CsingleTilde
Staggered streaming animations
Streaming word and character animations now cascade sequentially rather than animating all at once. The timing is configurable via a new option (default 40ms). Set to restore the previous behavior.staggerstagger: 0
Code blocks
Custom renderers now receive the raw metastring from the code fence via a new optional prop, and the prop lets you disable line numbers.metalineNumbers
Long lines now scroll horizontally instead of being clipped, completed blocks no longer re-render when new streaming content arrives, and unknown or truncated language identifiers fall back to plain text highlighting instead of throwing an error.
Bug fixes
now prepends a UTF-8 BOM for content, so Excel on Windows correctly detects encoding. Tailwind v4-only / syntax is replaced with arbitrary variant equivalents, fixing caret rendering in Tailwind CSS v3.save()text/csv*:last:*:first:
Read the to get started.documentation
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
OpenAI Decisions API now available on AI Gateway
OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.
Timestamp attributes now supported in Vercel Flags
Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.
Glyph Cluster now available in stealth on AI Gateway
Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.