Skip to content

Commit 2774f93

Browse files
committed
run mdbook-mermaid install
1 parent e5ae0c9 commit 2774f93

File tree

4 files changed

+45
-0
lines changed

4 files changed

+45
-0
lines changed

book.toml

+4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ edition = "2018"
1111
[output.html]
1212
site-url = "/wg-async-foundations/"
1313
git-repository-url = "https://github.com/rust-lang/wg-async-foundations"
14+
additional-js =["mermaid.min.js", "mermaid-init.js"]
1415

1516
[output.html.fold]
1617
enable = true
1718
level = 0
19+
[preprocessor]
20+
[preprocessor.mermaid]
21+
command = "mdbook-mermaid"

mermaid-init.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mermaid.initialize({startOnLoad:true});

mermaid.min.js

+32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/vision.md

+8
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,11 @@ The async vision document provides a forum where the Async Rust community can pl
3636
## 🚧 Under construction! Help needed! 🚧
3737

3838
This document is not yet complete! We are actively working on it as part of the working group, and we would like your help! Check out the [How to vision doc](./vision/how_to_vision.md) page for more details.
39+
40+
```mermaid
41+
graph TD;
42+
A-->B;
43+
A-->C;
44+
B-->D;
45+
C-->D;
46+
```

0 commit comments

Comments
 (0)