1.0 KB40 lines
Blame
1<!doctype html>
2<html>
3 <head>
4 <meta charset="utf-8" />
5 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 <title>Mermaid Quick Test Page</title>
7 <link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=" />
8 <style>
9 body {
10 font-family: 'trebuchet ms', verdana, arial;
11 }
12 </style>
13 </head>
14 <body>
15 <pre class="mermaid2">
16 %%{init: { 'themeCSS': '} * { background: lightblue }' } }%%
17 flowchart TD
18 a --> b
19 </pre>
20 <pre class="mermaid">
21 %%{init:{"theme":"base", "themeVariables": {"primaryColor":"#411d4e", "titleColor":"white", "darkMode":true}}}%%
22 flowchart LR
23 subgraph A
24 a --> b
25 end
26 subgraph B
27 i -->f
28 end
29 A --> B
30 </pre>
31 <script type="module">
32 import mermaid from './mermaid.esm.mjs';
33 function showFullFirstSquad(elemName) {
34 console.log('show ' + elemName);
35 }
36 mermaid.initialize({ startOnLoad: true, securityLevel: 'loose', logLevel: 0 });
37 </script>
38 </body>
39</html>
40