@m2d/react-markdown
Version:
A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.
10 lines (9 loc) • 366 B
TypeScript
/**
* Server components and client components need to be exported from separate files as
* directive on top of the file from which component is imported takes effect.
* i.e., server component re-exported from file with "use client" will behave as client component
*/
export * from "./mdx";
export * from "./omit";
export * from "./unwrap";
export * from "./md";