Skip to main content

Markdown

The Markdown component renders Markdown strings as rich HTML. It provides a safe way to display formatted content.

Usage

<Markdown content="# Hello\n\nThis is **markdown** content." />

Props

content
string
required
The markdown string to render.

Examples

Dynamic Content

<Card>
  <Markdown content={article.body} />
</Card>