Skip to content

Commit

Permalink
Adds mdbook-mermaid js files.
Browse files Browse the repository at this point in the history
  • Loading branch information
BriocheBerlin committed Feb 2, 2024
1 parent 75b6b3b commit 5e4c00a
Show file tree
Hide file tree
Showing 3 changed files with 1,652 additions and 0 deletions.
3 changes: 3 additions & 0 deletions training-slides/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ title = "Rust Training Slides by Ferrous Systems"
[preprocessor.mermaid]
command = "mdbook-mermaid"

[output.html]
additional-js = ["mermaid.min.js", "mermaid-init.js"]

[output.html.playground]
copyable = true # include the copy button for copying code snippets
1 change: 1 addition & 0 deletions training-slides/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 training-slides/mermaid.min.js

Large diffs are not rendered by default.

0 comments on commit 5e4c00a

Please sign in to comment.