diff --git a/package-lock.json b/package-lock.json
index 910793f..597571a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -20,7 +20,8 @@
"react-dom": "^19.0.0",
"react-icons": "^5.5.0",
"react-markdown": "^10.1.0",
- "rehype-raw": "^7.0.0"
+ "rehype-raw": "^7.0.0",
+ "remark-gfm": "^4.0.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.8.1",
diff --git a/package.json b/package.json
index 00c4b1e..caf15cd 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,7 @@
},
"@easyops-cn/docusaurus-search-local": {
"cheerio": "1.0.0-rc.12",
- "undici": "6.20.1"
+ "undici": "6.23.0"
}
},
"dependencies": {
@@ -43,7 +43,8 @@
"react-dom": "^19.0.0",
"react-icons": "^5.5.0",
"react-markdown": "^10.1.0",
- "rehype-raw": "^7.0.0"
+ "rehype-raw": "^7.0.0",
+ "remark-gfm": "^4.0.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.8.1",
diff --git a/src/components/GHWiki.tsx b/src/components/GHWiki.tsx
index ac89e24..1322c30 100644
--- a/src/components/GHWiki.tsx
+++ b/src/components/GHWiki.tsx
@@ -1,6 +1,7 @@
import { useEffect, useState } from "react";
import Markdown from "react-markdown";
import rehypeRaw from "rehype-raw";
+import remarkGfm from "remark-gfm";
export function GHWiki({ wikiUrl }: { wikiUrl: string }) {
const [loading, setLoading] = useState(true);
@@ -29,7 +30,9 @@ export function GHWiki({ wikiUrl }: { wikiUrl: string }) {
return (
<>
- {wikiContent}
+
+ {wikiContent}
+
>
);
}