import ReactMarkdown from 'react-markdown' import remarkGfm from 'remark-gfm' import rehypeSlug from 'rehype-slug' import rehypeAutolinkHeadings from 'rehype-autolink-headings' import { MermaidBlock } from './mermaid-block' type Props = { markdown: string } export function MarkdownView({ markdown }: Props) { return (
} return ( {children} ) }, }} > {markdown}
) }