Skip to content

Commit

Permalink
chore: add mermaid support (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle authored May 29, 2024
1 parent 1b930b1 commit 63e14dc
Show file tree
Hide file tree
Showing 3 changed files with 426 additions and 7 deletions.
5 changes: 4 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,10 @@ const config = {
contextualSearch: false,
},
}),
themes: ["@you54f/theme-github-codeblock"],
markdown: {
mermaid: true,
},
themes: ["@you54f/theme-github-codeblock",'@docusaurus/theme-mermaid'],
plugins: [
async function myPlugin(context, options) {
return {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@docusaurus/plugin-client-redirects": "^2.4.0",
"@docusaurus/plugin-content-docs": "^2.4.0",
"@docusaurus/preset-classic": "2.4.0",
"@docusaurus/theme-mermaid": "2.4.0",
"@mdx-js/react": "^1.6.22",
"@you54f/theme-github-codeblock": "^0.1.1",
"clsx": "^1.2.1",
Expand Down
Loading

0 comments on commit 63e14dc

Please sign in to comment.