Markdown Renderer
The Markdown Renderer component allows rendering Markdown content safely with support for various customizations.
Usage
Default
<MarkdownRenderer content={`
# Markdown Test
- Item 1
- Item 2
- [Visit BorealUI](https://www.borealui.ca)
- `Inline code`
> Blockquote
`} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| content | string | - | Markdown content to render. Accepts any valid Markdown string. |
| className | string | - | Additional CSS class to apply to the renderer container. |
| rounding | "none" | "small" | "medium" | "large" | Configured Default | Sets border-radius of the container. |
| shadow | "none" | "light" | "medium" | "strong" | "intense" | Configured Default | Sets shadow of the container. |
| language | string | "en" | Language attribute for accessibility and i18n. |
| data-testid | string | "markdown-renderer" | Testing identifier for querying in tests. |