惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Blog — PlanetScale
Blog — PlanetScale
小众软件
小众软件
F
Fortinet All Blogs
博客园 - 叶小钗
博客园_首页
D
DataBreaches.Net
Apple Machine Learning Research
Apple Machine Learning Research
U
Unit 42
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
博客园 - Franky
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
The Cloudflare Blog
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
IT之家
IT之家
M
MIT News - Artificial intelligence
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog

Streamdown Documentation

Configuration FAQ Getting Started Security Animation Carets Code Blocks Components GitHub Flavored Markdown Interactivity Internationalization Link Safety Memoization Migrate from react-markdown Styling Unterminated Block Parsing Typography Usage @streamdown/cjk @streamdown/code Built-in Plugins @streamdown/math @streamdown/mermaid Custom renderers
Introduction
Vercel · 2026-06-02 · via Streamdown Documentation

A drop-in replacement for react-markdown, designed for AI-powered streaming.

Streamdown is a React component library that makes rendering streaming Markdown content seamless and beautiful. Built specifically for AI-powered applications, it handles the unique challenges that arise when Markdown is tokenized and streamed in real-time.

When you stream Markdown content from AI models, new challenges emerge that traditional Markdown renderers weren't designed to handle:

  • Incomplete syntax - Bold text that hasn't been closed yet: **This is bol
  • Partial code blocks - Code blocks missing their closing backticks
  • Unterminated links - Links without closing brackets: [Click here
  • Progressive rendering - Content that updates token-by-token

Traditional Markdown renderers like react-markdown will either render these incomplete elements incorrectly or not at all, creating a jarring user experience.

Streamdown intelligently handles incomplete Markdown by:

  1. Parsing incomplete blocks - Automatically detects and completes unterminated Markdown syntax
  2. Progressive formatting - Applies styling to partial content as it streams in
  3. Seamless transitions - Smoothly updates from incomplete to complete states
  4. Zero configuration - Works out of the box with sensible defaults