components / prose
prose.
markdown renderer with the justin06lee.dev prose styling — GFM, KaTeX math, heading slugs, and copy-on-hover code blocks. dark-only. pass markdown as the string child.
heading
prose renders markdown with the justin06lee.dev styling — links, lists, and
inline code.
- gfm tables and lists
- math via katex:
const cn = (...x: string[]) => x.join(" ");
blockquotes, too.
installation
bunx @justin06lee/chrome@latest add proseusage
Render markdown
<Prose>{`# titlesome **markdown** with \`code\`.`}</Prose>
Code block + math
const x = 1;
inline math:
<Prose>{md}</Prose>