Streamdown is a new open source, drop-in Markdown renderer built for AI streaming. It powers the AI Elements Response component, but can also be used standalone to give developers a fully composable, independently managed option with
Streamdown is designed to handle unterminated chunks, interactive code blocks, math, and other cases that are unreliable with existing Markdown packages.
It's available now, and ships with:
You can get started with start with AI Elements:
Or as a standalone package:
Read the docs and upgrade your AI-powered streaming.
Read more
Continue reading...
npm i streamdown.Streamdown is designed to handle unterminated chunks, interactive code blocks, math, and other cases that are unreliable with existing Markdown packages.
It's available now, and ships with:
Tailwind typography styles: Preconfigured classes for headings, lists, and code blocks
GitHub Flavored Markdown: Tables, task lists, and other GFM features
Interactive code blocks: Shiki highlighting with built-in copy button
Math support: LaTeX expressions viaremark-mathand KaTeX
Graceful chunk handling: Proper formatting for unterminated Markdown chunks
Security hardening: Safe handling of untrusted content with restricted images and links
You can get started with start with AI Elements:
Or as a standalone package:
Read the docs and upgrade your AI-powered streaming.
Read more
Continue reading...