Skip to main content
content
string | { markdown: string }
required
The text to display. Pass a plain string for unstyled text, or an object with a markdown key for inline markdown formatting (bold, italic, code, links).

Support

Usage

Plain text

Inline markdown

Styled text

Multi-line with alignment

Typography modifiers

With padding and background

Notes

  • Use Text for inline text display. For full document-level markdown with headings, lists, and code blocks, use Markdown instead.
  • The { markdown } form supports inline formatting only: bold, italic, strikethrough, code, and links.

See Also