We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac21e5a commit 0e16c1dCopy full SHA for 0e16c1d
1 file changed
astro.config.mjs
@@ -4,6 +4,7 @@ import mdx from "@astrojs/mdx";
4
import { modifiedTime } from "./src/plugins/modifiedTime.mjs";
5
import rehypeMdxCodeProps from "rehype-mdx-code-props";
6
import mermaid from "astro-mermaid";
7
+import { unified } from "@astrojs/markdown-remark";
8
9
// https://astro.build/config
10
export default defineConfig({
@@ -30,8 +31,10 @@ export default defineConfig({
30
31
},
32
],
33
markdown: {
- rehypePlugins: [rehypeMdxCodeProps],
34
- remarkPlugins: [modifiedTime],
+ processor: unified({
35
+ rehypePlugins: [rehypeMdxCodeProps],
36
+ remarkPlugins: [modifiedTime],
37
+ }),
38
39
trailingSlash: "always",
40
});
0 commit comments