Skip to content

Commit a44cdf0

Browse files
committed
keeping source config as it is
1 parent 7af21be commit a44cdf0

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

apps/developer-hub/source.config.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { rehypeCode } from "fumadocs-core/mdx-plugins";
12
import { defineConfig, defineDocs } from "fumadocs-mdx/config";
23
import rehypeKatex from "rehype-katex";
34
import remarkMath from "remark-math";
@@ -29,12 +30,12 @@ export default defineConfig({
2930
rehypeCodeOptions: {
3031
langs: [
3132
"solidity",
32-
"ts",
33+
"ts",
3334
"bash",
3435
"js",
3536
"json",
3637
"md",
37-
"mdx",
38+
"mdx",
3839
"python",
3940
"rust",
4041
"sh",
@@ -47,6 +48,6 @@ export default defineConfig({
4748
},
4849
},
4950
remarkPlugins: [remarkMath],
50-
rehypePlugins: (v) => [rehypeKatex, ...v],
51-
},
51+
rehypePlugins: [rehypeKatex, rehypeCode],
52+
},
5253
});

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)