streamdown

Render streaming React Markdown with Shiki syntax highlighting and Mermaid diagrams.

1|1|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/yunseo-kim/agent-toolbox --skill streamdown-yunseo-kim
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: streamdown
Source: https://github.com/yunseo-kim/agent-toolbox/tree/main/catalog/skills/streamdown
Command: npx skills add https://github.com/yunseo-kim/agent-toolbox --skill streamdown-yunseo-kim

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @streamdown/code, @streamdown/mermaid, @streamdown/math, @streamdown/cjk, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a highly optimized and feature-rich React Markdown renderer that excels at handling streaming content, making it ideal for AI-generated responses and real-time applications.

Core Features & Use Cases

  • Streaming-Optimized Rendering: Efficiently displays content as it arrives, perfect for chat interfaces.
  • Syntax Highlighting: Integrates with Shiki for beautiful code block rendering.
  • Interactive Features: Supports Mermaid diagrams, LaTeX math rendering, and customizable security controls.
  • Use Case: Integrate into a chat application to display AI responses with code blocks that are correctly highlighted and formatted as they are generated by the AI.

Quick Start

Install the streamdown package and use the Streamdown component to render your markdown content.

Frequently Asked Questions about streamdown

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render streaming markdown in a React chat interface?

You can render streaming markdown in a React chat interface by using a streaming-optimized React markdown renderer designed to efficiently display AI-generated text content as it arrives over real-time connections.

What is the best way to display syntax highlighting for AI-generated code blocks in React?

The best way to display syntax highlighting for AI-generated code blocks in React is using a markdown renderer that integrates with Shiki to provide beautiful and accurate code block formatting during text streaming.

Can I render Mermaid diagrams and LaTeX math inside streaming markdown?

Yes, you can render Mermaid diagrams and LaTeX math inside streaming markdown by using a React renderer equipped with specialized plugins for interactive diagram and mathematical formula rendering.

Does this React markdown renderer support custom security configurations and themes?

Yes, this React markdown renderer supports custom security configurations and themes, allowing you to safely control content rendering behavior and customize the visual output through extensible plugin architectures.

Why does markdown streaming cause rendering issues in standard React applications?

Markdown streaming causes rendering issues in standard React applications because traditional renderers expect complete documents, whereas streaming-optimized renderers dynamically update the display as content fragments arrive incrementally.