Skip to content

Commit

Permalink
Merge pull request #6 from hiking90/main
Browse files Browse the repository at this point in the history
Support mermaid diagram
  • Loading branch information
hiking90 authored Feb 24, 2024
2 parents e92dd92 + 2f9b519 commit 57bebe9
Show file tree
Hide file tree
Showing 3 changed files with 1,659 additions and 0 deletions.
10 changes: 10 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@ language = "en"
multilingual = false
src = "src"
title = "Rsbinder Development Guide"

[preprocessor]

[preprocessor.mermaid]
command = "mdbook-mermaid"

[output]

[output.html]
additional-js = ["mermaid.min.js", "mermaid-init.js"]
1 change: 1 addition & 0 deletions mermaid-init.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mermaid.initialize({startOnLoad:true});
1,648 changes: 1,648 additions & 0 deletions mermaid.min.js

Large diffs are not rendered by default.

0 comments on commit 57bebe9

Please sign in to comment.