Skip to content

Commit

Permalink
1. Add mermaid support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ouch1978 committed Aug 29, 2024
1 parent 60499ba commit 0be4bbd
Show file tree
Hide file tree
Showing 3 changed files with 511 additions and 384 deletions.
5 changes: 4 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ module.exports = {
],
['drawio', {}],
],
themes: ['docusaurus-theme-github-codeblock'],
markdown: {
mermaid: true,
},
themes: ['docusaurus-theme-github-codeblock', '@docusaurus/theme-mermaid'],
themeConfig: {
tableOfContents: {
minHeadingLevel: 2,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@docusaurus/core": "^3.5.2",
"@docusaurus/plugin-google-analytics": "^3.5.1",
"@docusaurus/preset-classic": "^3.5.2",
"@docusaurus/theme-mermaid": "^3.5.2",
"@fortawesome/fontawesome-svg-core": "^1.3.0",
"@fortawesome/free-brands-svg-icons": "^6.0.0",
"@fortawesome/free-regular-svg-icons": "^6.0.0",
Expand All @@ -45,7 +46,6 @@
"immediate": "^3.2.3",
"klaw-sync": "^6.0.0",
"mark.js": "^8.11.1",
"mermaid": "^8.11.0",
"parse5-htmlparser2-tree-adapter": "^6.0.1",
"prism-react-renderer": "^2.1.0",
"prism-themes": "^1.7.0",
Expand Down
Loading

0 comments on commit 0be4bbd

Please sign in to comment.