Parts
Markdown
Agent replies rendered as Markdown with Streamdown, safe while they stream.
npx shadcn@latest add https://loom.mkhonta.com/r/markdown.jsonHere's what changed in v2.4:
- Invoices now show the due date in the list
exporttakes a--sinceflag
Usage
<LoomMarkdown streaming={part.state === "streaming"}>{part.text}</LoomMarkdown>Props and details are in the docs.
Installs
- components/loom/markdown.tsx
- streamdown@^2.7.1