"use client"; import ReactMarkdown from "react-markdown"; import rehypeHighlight from "rehype-highlight"; import remarkGfm from "remark-gfm"; interface PostContentProps { content: string; } export function PostContent({ content }: PostContentProps) { return (
( // eslint-disable-next-line @next/next/no-img-element {alt ), pre: ({ children }) => (
              {children}
            
), code: ({ className, children, ...props }) => { const isInline = !className; if (isInline) { return ( {children} ); } return ( {children} ); }, }} > {content}
); }