Skip to content

Commit

Permalink
Add mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
kordwarshuis committed Sep 28, 2024
1 parent fd9c42a commit 49154a5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ const config = {
defaultLocale: 'en',
locales: ['en'],
},
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],

presets: [
[
Expand Down Expand Up @@ -110,6 +114,9 @@ const config = {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
mermaid: {
theme: { light: 'neutral', dark: 'forest' },
}
}),
plugins: [
[
Expand Down

0 comments on commit 49154a5

Please sign in to comment.