Skip to content

Commit aa87ef6

Browse files
committed
working config
1 parent b165ab7 commit aa87ef6

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

astro.config.mjs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,17 @@ export default defineConfig({
1818
}
1919
}
2020
},
21+
markdown: {
22+
syntaxHighlight: {
23+
type: "shiki",
24+
excludeLangs: ['mermaid']
25+
}
26+
},
2127
integrations: [
2228
expressiveCode({ themes: ["dracula"] }),
2329
mdx({
24-
syntaxHighlight: {
25-
excludeLangs: ['mermaid']
26-
},
2730
remarkPlugins: [extractExcerptPlugin],
28-
rehypePlugins: [[rehypeMermaid, { strategy: "img-svg", dark: true, colorScheme: "forest" }]]
31+
//rehypePlugins: [[rehypeMermaid, { strategy: "img-svg", dark: true, colorScheme: "forest" }]]
2932
}),
3033
sitemap(),
3134
],

0 commit comments

Comments
 (0)