import { useRef, FC } from "react"; import "prismjs/themes/prism.css"; import '@toast-ui/editor/dist/theme/toastui-editor-dark.css'; import "@toast-ui/editor-plugin-code-syntax-highlight/dist/toastui-editor-plugin-code-syntax-highlight.css"; //@ts-ignore import codeSyntaxHighlight from "@toast-ui/editor-plugin-code-syntax-highlight/dist/toastui-editor-plugin-code-syntax-highlight-all.js"; import { Viewer } from "@toast-ui/react-editor"; import { isDarkMode } from "../utils"; import ImagePreview from "./ImagePreview"; interface IProps { content: string; } const MarkdownRender: FC = ({ content }) => { const mdContainer = useRef(null); return ( <>
); }; export default MarkdownRender;