streamdown

Stream render Markdown with real-time updates and plugin support.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/rishi-harti768/persona-chat --skill streamdown-rishi-harti768
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: streamdown
Source: https://github.com/rishi-harti768/persona-chat/tree/main/.agents/skills/streamdown
Command: npx skills add https://github.com/rishi-harti768/persona-chat --skill streamdown-rishi-harti768

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill includes assets (resource) and references (resource) components.

What problem does it solve?

Streaming Markdown rendering for AI chat and live UIs, reducing latency and complexity when displaying dynamic markdown content.

Core Features & Use Cases

  • Streaming render pipeline with memoization for smooth updates.
  • Plugin support for code highlighting (@streamdown/code), diagrams (mermaid), math (KaTeX), and CJK text.
  • Real-world scenarios: AI chat interfaces, live docs, dashboards, and collaborative editors.

Quick Start

Render your markdown with Streamdown and enable code, mermaid, and math plugins for real-time output.

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 an AI chat interface?β–Ό

Streaming markdown rendering for AI chats automates real-time updates via a pipeline with memoization, reducing latency when displaying dynamic content like code, diagrams, and math.

Does streaming markdown rendering work with mermaid diagrams and KaTeX math?β–Ό

Yes, streaming markdown rendering supports plugins for mermaid diagrams, KaTeX math, code highlighting, and CJK text, enabling real-time output for diverse content types.

What is the best way to display live markdown in dashboards and collaborative editors?β–Ό

Live markdown rendering for dashboards and collaborative editors uses a streaming pipeline with memoization to ensure smooth, real-time updates as dynamic content changes.

How do I enforce link safety and security when rendering streaming markdown?β–Ό

Security for streaming markdown is enforced via rehype plugins and configurable link safety settings, ensuring safe content rendering within dynamic chat and dashboard environments.

What are the limitations of rendering real-time markdown for live UIs?β–Ό

Real-time markdown rendering for live UIs relies on plugin support for specific formats like mermaid and KaTeX, requiring proper plugin configuration to display complex content correctly.