forked from mermaid-js/mermaid-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
21 lines (19 loc) · 817 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html>
<html>
<body>
<div id="container"></div>
<script type="module">
// don't import minified CSS files (e.g. `*.min.css`), since that actually
// makes the dist/index.html slightly larger!
import faBrands from "@fortawesome/fontawesome-free/css/brands.css"
import faRegular from "@fortawesome/fontawesome-free/css/regular.css"
import faSolid from "@fortawesome/fontawesome-free/css/solid.css"
import fontawesome from "@fortawesome/fontawesome-free/css/fontawesome.css"
import mermaid from "mermaid"
import mermaidMindmap from "@mermaid-js/mermaid-mindmap"
// expose mermaid to the global scope so that puppeteer can see it
globalThis.mermaid = mermaid
globalThis.mermaidMindmap = mermaidMindmap
</script>
</body>
</html>