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

Sortable data table
PropTypeDefaultDescription
contentstring-Markdown content to render. Accepts any valid Markdown string.
classNamestring-Additional CSS class to apply to the renderer container.
rounding"none" | "small" | "medium" | "large"Configured DefaultSets border-radius of the container.
shadow"none" | "light" | "medium" | "strong" | "intense"Configured DefaultSets shadow of the container.
languagestring"en"Language attribute for accessibility and i18n.
data-testidstring"markdown-renderer"Testing identifier for querying in tests.