Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Introducing Streamdown: Open source Markdown for AI streaming - Vercel

Vercel News·Hayden Bleasel·4 days ago
#pTFxPEYj
Reading 0:00
15s threshold

Streamdown is a new open source, drop-in Markdown renderer built for AI streaming. It powers the AI Elements Response component, but can also be used standalone to give developers a fully composable, independently managed option with npm i streamdown . Streamdown is designed to handle unterminated chunks, interactive code blocks, math, and other cases that are unreliable with existing Markdown packages. It's available now, and ships with: Tailwind typography styles: Preconfigured classes for headings, lists, and code blocks GitHub Flavored Markdown: Tables, task lists, and other GFM features Interactive code blocks: Shiki highlighting with built-in copy button Math support: LaTeX expressions via remark-math and KaTeX Graceful chunk handling: Proper formatting for unterminated Markdown chunks Security hardening: Safe handling of untrusted content with restricted images and links You can get started with start with AI Elements: npx ai-elements@latest add message Or as a standalone package: Read the docs and…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More