Skip to content

Commit

Permalink
temporary deactivate rehype-parse
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Tilsch committed Apr 6, 2024
1 parent 52bc26a commit ce238b5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { useRemark } from "react-remark";
import { Container } from "@mui/material";
import rehypeDocument from "rehype-document";
import rehypeKatex from "rehype-katex";
import remark2rehype from "remark-rehype";
import rehypeParse from "rehype-parse";
import rehypeStringify from "rehype-stringify";
import rehypeMermaid from "rehype-mermaid";
Expand All @@ -17,7 +16,7 @@ const MarkdownContent = ({ mdDocument }: MarkdownContentProps) => {
const [reactContent, setMarkdownSource] = useRemark({
remarkPlugins: [remarkMath],
rehypePlugins: [
[rehypeParse as any, { fragment: true }],
// [rehypeParse as any, { fragment: true }],
rehypeDocument as any,
rehypeKatex as any,
[
Expand Down

0 comments on commit ce238b5

Please sign in to comment.