You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MarkdownViewercomponents maps a fence language to a component (step, subagent, mindmap). The component receives { code, lang, streaming, closed }. An open fence stays a code block while streaming is set. mermaid and live-react stay built in.
The same components prop on ChatMarkdown, ChatAgentMessage, AgentPanel, and AgentChatbox. A panel shares the map with nested markdown.
MarkdownComponents, MarkdownFenceProps, MarkdownFenceComponent, and MarkdownComponentsProvider from devnonla-ui/markdown. MarkdownComponents is also exported from devnonla-ui/chat.
Upgrade notes
Optional. Omit components and existing markdown renders as before.