Streamdown 2.4: Customization, accessibility, and custom rendering
Streamdown 2.4 adds customization hooks for markdown rendering, including icon overrides, theme support for code blocks, internationalization with right-to-left text direction, fullscreen table overlays, and streaming event callbacks. The release also fixes empty line collapsing in syntax-highlighted blocks and ordered list animation issues.
Streamdown v2.4 introduces customization hooks, accessibility features, and user experience improvements for developers rendering markdown.
Teams can now customize the appearance of their markdown output using several new properties. You can override the built-in icons by passing a specific component map to the prop.icons
The now accepts a option for light and dark Shiki themes, a meta option for custom starting line numbers, and an virtual component for styling inline code independently from blocks.createCodePluginthemesstartLineinlineCode
Streamdown now supports internationalization and text direction. The prop automatically applies left-to-right or right-to-left formatting based on the first strong Unicode character, and the prop supports custom languages.dirtranslations
Tables include a fullscreen overlay controlled via the prop, complete with scroll locking and Escape key support. Developers can hook into streaming events using the and callbacks.controlsonAnimationStartonAnimationEnd
This release fixes empty lines collapsing in syntax-highlighted blocks and prevents ordered lists from retriggering animations during streaming.
For projects using Tailwind v4, the new prop namespaces utility classes to avoid collisions.prefix
To get started, .learn more
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.