Menu

Streamdown 2.4: More customization, accessibility and custom rendering - Vercel
📰
0

Streamdown 2.4: More customization, accessibility and custom rendering - Vercel

Vercel News·Hayden Bleasel·4 days ago
#d5Ufh89E
#vercel#streamdown#prop#using#icons#article
Reading 0:00
15s threshold

Streamdown v2.4 introduces customization hooks, accessibility features, and user experience improvements for developers rendering markdown. Teams can now customize the appearance of their markdown output using several new properties. You can override the built-in icons by passing a specific component map to the icons prop. import { Streamdown , type IconMap } from "streamdown" < Streamdown icons = { { CheckIcon : MyCheckIcon } } > { content } </ Streamdown > The createCodePlugin now accepts a themes option for light and dark Shiki themes, a startLine meta option for custom starting line numbers, and an inlineCode virtual component for styling inline code independently from blocks. import { createCodePlugin } from "streamdown" const codePlugin = createCodePlugin ( { themes : { light : "github-light" , dark : "github-dark" , } , } ) Streamdown now supports internationalization and text direction.…

Continue reading — create a free account

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

Read More