Skip to content

Commit e32991e

Browse files
committed
Installed astro mermaid
1 parent 343e2cc commit e32991e

File tree

9 files changed

+1530
-90
lines changed

9 files changed

+1530
-90
lines changed

astro.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import mdx from "@astrojs/mdx";
44
import tailwind from "@astrojs/tailwind";
55
import serviceWorker from "astrojs-service-worker";
66
import fast from "./src/scripts/fast-compress";
7+
import mermaid from 'astro-mermaid'
78

89
// Allow skipping compression step for faster test build times
910
// DO NOT SKIP COMPRESSION FOR DEPLOYMENT!
@@ -47,6 +48,7 @@ export default defineConfig({
4748
],
4849
},
4950
}),
51+
mermaid(),
5052
],
5153
prefetch: {
5254
defaultStrategy: "viewport",
@@ -78,5 +80,6 @@ export default defineConfig({
7880
shikiConfig: {
7981
theme: 'github-light',
8082
},
83+
8184
},
8285
});

0 commit comments

Comments
 (0)