Streamdown
Streamdown is a React library that serves as a drop-in replacement for react-markdown, specifically designed for AI-powered streaming applications. It handles incomplete markdown syntax during streaming, includes built-in Tailwind styling, supports GitHub Flavored Markdown, provides syntax highlighting with Shiki, and offers security features to prevent prompt injection attacks. The library comes with LaTeX math support and can parse unterminated markdown blocks for smoother streaming experiences.