File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ const config = {
25
25
onBrokenMarkdownLinks : 'warn' ,
26
26
onBrokenAnchors : 'warn' ,
27
27
28
+ // Set Mermaid
29
+ markdown : {
30
+ mermaid : true ,
31
+ } ,
32
+ themes : [ '@docusaurus/theme-mermaid' ] ,
33
+
28
34
// Performance optimizations with Docusaurus Faster
29
35
future : {
30
36
experimental_faster : {
@@ -103,6 +109,17 @@ const config = {
103
109
themeConfig :
104
110
/** @type {import('@docusaurus/preset-classic').ThemeConfig } */
105
111
( {
112
+ // MermaidJS Config
113
+ mermaid : {
114
+ theme : {
115
+ light : 'neutral' ,
116
+ dark : 'dark' ,
117
+ } ,
118
+ options : {
119
+ look : 'handDrawn' ,
120
+ handDrawnSeed : 1 ,
121
+ } ,
122
+ } ,
106
123
// Replace with your project's social card
107
124
image : 'img/Logo_RGB.svg' ,
108
125
docs : {
@@ -205,6 +222,7 @@ const config = {
205
222
prism : {
206
223
theme : prismThemes . github ,
207
224
darkTheme : prismThemes . dracula ,
225
+ additionalLanguages : [ 'powershell' , 'bash' ] ,
208
226
} ,
209
227
} ) ,
210
228
// Add preconnect for better search performance
Original file line number Diff line number Diff line change 22
22
"@docusaurus/plugin-google-tag-manager" : " ^3.8.1" ,
23
23
"@docusaurus/plugin-rsdoctor" : " ^3.8.1" ,
24
24
"@docusaurus/preset-classic" : " ^3.8.1" ,
25
+ "@docusaurus/theme-mermaid" : " ^3.8.1" ,
25
26
"@mdx-js/react" : " ^3.0.0" ,
26
27
"prism-react-renderer" : " ^2.3.0" ,
27
28
"react" : " ^18.3.1" ,
You can’t perform that action at this time.
0 commit comments