What problem does it solve?
This Skill provides a robust solution for rendering Markdown content, especially when dealing with AI-generated text streams, ensuring proper formatting, syntax highlighting, and interactive elements even with incomplete data.
Core Features & Use Cases
- Streaming Markdown Rendering: Gracefully handles incomplete or unterminated Markdown blocks from AI models.
- Rich Feature Support: Includes syntax highlighting (Shiki), Mermaid diagrams, LaTeX math rendering (KaTeX), and CJK text support.
- Security & Customization: Offers options for link safety, custom HTML tags, and theming via Tailwind CSS.
- Use Case: Integrate into a chat application to display AI responses that are formatted as Markdown, complete with code blocks, diagrams, and equations, all while streaming in real-time.
Quick Start
Install streamdown and configure your Tailwind CSS to include its dist files.