Carregando…
Carregando…
Carregando…Renders Markdown to styled HTML with code blocks, blockquotes and tables.
Markdown → styled HTML
Regular paragraph with bold and italic text, plus inline code.
const cls = cn('bg-patina', active && 'text-patina-fg')
Blockquote with context
$ npx kikitocn add markdown-rendererimport { MarkdownRenderer } from "@/components/ui/cn/markdown-renderer/MarkdownRenderer";
export function MarkdownRendererExample() {
return (
<MarkdownRenderer />
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
content* | string | — | Texto em Markdown |
className | string | — | Classes CSS extras |