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

推荐订阅源

博客园 - 司徒正美
大猫的无限游戏
大猫的无限游戏
腾讯CDC
J
Java Code Geeks
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
V
Visual Studio Blog
人人都是产品经理
人人都是产品经理
博客园 - Franky
博客园 - 聂微东
阮一峰的网络日志
阮一峰的网络日志
美团技术团队
云风的 BLOG
云风的 BLOG
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
U
Unit 42
雷峰网
雷峰网
B
Blog RSS Feed
博客园_首页
量子位
F
Fortinet All Blogs
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
酷 壳 – CoolShell
酷 壳 – CoolShell
C
Check Point 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