diff --git a/bun.lockb b/bun.lockb index 7221783..ba6b253 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index e3f67ca..cf62e01 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "react-router-dom": "6.10.0", "react-syntax-highlighter": "^15.5.0", "react-toastify": "^10.0.4", + "rehype-katex": "6.0.3", "rehype-mathjax": "4.0.3", "remark-gfm": "3.0.1", "remark-math": "5.1.1", diff --git a/src/components/Common/Markdown.tsx b/src/components/Common/Markdown.tsx index 1f85ace..c736c59 100644 --- a/src/components/Common/Markdown.tsx +++ b/src/components/Common/Markdown.tsx @@ -1,13 +1,12 @@ import remarkGfm from "remark-gfm" import remarkMath from "remark-math" import ReactMarkdown from "react-markdown" + import "property-information" import React from "react" import { CodeBlock } from "./CodeBlock" - export default function Markdown({ message }: { message: string }) { - return ( + ) : ( {children}