Reference
AI Response
Markdown set on the paper. Rendering goes through `@tanstack/markdown`, whose defaults leave raw HTML and executable links inert — streaming-safe by construction. An optional highlighter re-inks fenced code; the component stays agnostic about which engine provides it.
Actions · Attachment · Attachments · CodeBody · CodeCopy · Content · Conversation · Loader · Message · Prompt · PromptEnd · PromptFooter · PromptHeader · PromptLeading · PromptMain · PromptTrailing · ReasoningContent · Response · Root · Source · Sources · Textarea · ToolBody · ToolLabel · ToolStatus · Trigger
#AiResponse
Markdown set on the paper. Rendering goes through
@tanstack/markdown, whose defaults leave raw HTML and executable
links inert — streaming-safe by construction. An optional
highlighter re-inks fenced code; the component stays agnostic about
which engine provides it.
| Prop | Type | Default | Description |
|---|---|---|---|
content | String | The markdown text to set on the paper — streamed in freely; raw HTML and executable links stay inert. | |
highlighter | Function as PropType<(code: string, lang?: string) => string> | undefined | Optional code-highlighting function re-inking fenced blocks; the component stays agnostic about which engine provides it. |
copyLabel | String | "Copy code" | The copy stamp's accessible name before the copy lands. |
copiedLabel | String | "Copied" | The copy stamp's accessible name once the text has landed. |