assistant-ui Markdown Always consult assistant-ui.com/llms.txt for the latest API. Render and customize assistant message text as markdown with MarkdownTextPrimitive from @assistant-ui/react-markdown , wired into the MessagePrimitive.Parts text branch. References ./references/markdown-text.md -- MarkdownTextPrimitive setup ./references/syntax-highlighting.md -- code highlighting (react-shiki / react-syntax-highlighter) ./references/latex-mermaid.md -- LaTeX and Mermaid ./references/streamdown.md -- StreamdownTextPrimitive alternative Orientation MarkdownTextPrimitive renders one text part as markdown. The registry component ( npx assistant-ui@latest add markdown-text ) generates components/assistant-ui/markdown-text.tsx , which exports a memoized MarkdownText built on the primitive plus a defaultComponents map from unstable_memoizeMarkdownComponents . Render MarkdownText from the text branch of MessagePrimitive.Parts . Show more Installs 508 Repository assistant-ui/skills GitHub Stars 16 First Seen Jun 1, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Warn
markdown
安装
npx skills add https://github.com/assistant-ui/skills --skill markdown