@typedown/react
v0.0.1
Published
React renderer and baseline styles for Typedown documents.
Downloads
97
Maintainers
Readme
@typedown/react
React renderer for Typedown documents.
@typedown/react renders a TypedownDocument with overridable HTML nodes, directive components, built-in UI primitives, and an optional baseline stylesheet.
Install
pnpm add @typedown/react react react-domExample
import "@typedown/react/styles.css";
import { Typedown } from "@typedown/react";
export function Article({ doc }) {
return <Typedown document={doc} />;
}Repo: https://github.com/ddoemonn/typedown
