Skip to main content
The Markdown component renders full markdown content — headings, bold, italic, lists, links, code blocks, tables, and blockquotes. Use it for rich text blocks where the content is naturally markdown-shaped.

Basic Usage

API Reference

Markdown Parameters

content
str
required
Markdown text. Can be passed as a positional argument.
css_class
str | None
default:"None"
Additional Tailwind CSS classes.

Protocol Reference

Markdown
{
  "type": "Markdown",
  "content": "string (required)",
  "cssClass?": "string"
}
For the complete protocol schema, see Markdown.