Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Actually use the mermaid diagram functionality. (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotFriend authored Sep 7, 2023
1 parent 54587b9 commit e6a2d5b
Show file tree
Hide file tree
Showing 3 changed files with 267 additions and 365 deletions.
4 changes: 4 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ const config = {
additionalLanguages: ["rust", "toml", "solidity", "cpp"],
},
}),
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
};

module.exports = config;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"dependencies": {
"@docusaurus/core": "^2.2.0",
"@docusaurus/preset-classic": "^2.2.0",
"@docusaurus/theme-mermaid": "^2.4.1",
"@mdx-js/react": "^1.6.22",
"@soroban-react/chains": "^5.3.12",
"@soroban-react/core": "^5.3.12",
Expand Down
Loading

0 comments on commit e6a2d5b

Please sign in to comment.