Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 954 Bytes

File metadata and controls

37 lines (25 loc) · 954 Bytes
title Markdown
description Explicit markdown text block in a bot message.

Overview

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

import { Markdown } from "@copilotkit/bot-ui";

Props

The markdown source.

Usage

<Message>
  <Markdown>{agentSummary}</Markdown>
</Message>

On Slack

Renders as a section block whose text is passed through the adapter's Markdown → mrkdwn translation, truncated at 3000 characters (SLACK_LIMITS.sectionText).

Related