import ReactMarkdown, { type Components } from "react-markdown" import rehypeRaw from "rehype-raw" import remarkGfm from "remark-gfm" import { cn } from "@/lib/utils" type MarkdownContentProps = { markdown: string className?: string } const markdownComponents: Components = { h1: ({ className, ...props }) => (

), h2: ({ className, ...props }) => (

), h3: ({ className, ...props }) => (

), h4: ({ className, ...props }) => (

), p: ({ className, ...props }) => (

), ul: ({ className, ...props }) => (