markdown
Markdown renderer for AI chat content
AImarkdown.cssmarkdown.js
Installation
$
npx skeehn add markdownPreview
Theme
Dithering
Thresholds pixels against a Bayer matrix to fake more shades with fewer colors.
- Ordered (Bayer)
- Floyd–Steinberg
- Atkinson
const dither = 'bayer';Props
| Prop | Type | Default | Description |
|---|---|---|---|
| content | string | — | Markdown content string |
Usage
markdown.tsx
1import { Markdown } from '@skeehn/react';23export function Content() {4 return (5 <Markdown content="# Hello\n\nThis is **markdown** content." />6 );7}