| title | Markdown |
|---|---|
| description | Explicit markdown text block in a bot message. |
Markdown is an explicit markdown text block. It behaves like Section but signals intent: this content is markdown (e.g. agent output you're passing through), not incidental body text.
import { Markdown } from "@copilotkit/bot-ui";<Message>
<Markdown>{agentSummary}</Markdown>
</Message>Renders as a section block whose text is passed through the adapter's Markdown → mrkdwn translation, truncated at 3000 characters (SLACK_LIMITS.sectionText).
- Section — general body text
- markdownToMrkdwn — the Markdown → mrkdwn translation