Copy this complete component into a page file. Edit and run it in the Playground.
Loading editor…
Renders trusted Markdown with GitHub-flavoured tables, task lists, autolinks, and code blocks. External links open in a new tab with rel="noreferrer noopener".
| Prop | Type | Default | Description |
|---|---|---|---|
children | string | required | Markdown source. |
components | Components | — | Override individual React Markdown renderers. |
externalLinksInNewTab | boolean | true | Open absolute links in a new tab. |
className | string | — | Optional class name on the wrapper. |