Skip to content

Commit ad0c0e9

Browse files
groksrcclaude
andcommitted
Add Mermaid diagram support
- Install astro-mermaid and mermaid packages - Configure mermaid integration in astro.config.mjs - Enables rendering of Mermaid diagrams in MDX files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent caffdbd commit ad0c0e9

File tree

3 files changed

+1371
-52
lines changed

3 files changed

+1371
-52
lines changed

astro.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ import { defineConfig } from 'astro/config';
44
import mdx from '@astrojs/mdx';
55
import react from '@astrojs/react';
66
import pagefind from 'astro-pagefind';
7+
import mermaid from 'astro-mermaid';
78

89
// https://astro.build/config
910
export default defineConfig({
10-
integrations: [mdx(), react(), pagefind()],
11+
integrations: [mdx(), react(), pagefind(), mermaid()],
1112
markdown: {
1213
syntaxHighlight: 'shiki',
1314
shikiConfig: {

0 commit comments

Comments
 (0)