Skip to main content
MarkdownRenderer is the migration path for an existing AI response view. It supports headings, emphasis, lists, quotes, task lists, tables, footnotes, fenced code highlighting, links, and images.

Safety behavior

  • Raw HTML, MDX, scripts, styles, and generated executable behavior are not rendered.
  • URL syntax and credentials are checked before host policies run.
  • External HTTPS links use a review dialog by default.
  • Markdown and catalog images use the same imagePolicy contract.
  • A thrown urlPolicy is treated as a denial.
The status prop affects partial-Markdown repair and resource timing. It does not make rendered Markdown executable.

When to switch to RUI

Use RUIRenderer for structured layouts, charts, forms, trusted data, typed actions, or custom components. Markdown remains available inside RUI through RichText(format="markdown").