2021-01-27 22:23:33 +01:00
|
|
|
<html>
|
|
|
|
<body>
|
2022-09-05 00:48:36 +05:30
|
|
|
<h1>Example</h1>
|
|
|
|
<pre class="mermaid">
|
2021-01-27 22:23:33 +01:00
|
|
|
%%{init:{"theme":"base", "sequence": {"mirrorActors":false},"themeVariables": {"actorBkg":"red"}}}%%
|
|
|
|
sequenceDiagram
|
|
|
|
Bert->>+Ernie: Start looking for the cookie!
|
|
|
|
Ernie-->>-Bert: Found it!
|
|
|
|
Note left of Ernie: Cookies are good
|
2022-09-05 00:48:36 +05:30
|
|
|
</pre>
|
|
|
|
<pre class="mermaid">
|
2021-01-27 22:23:33 +01:00
|
|
|
%%{init:{"theme":"base", "themeVariables": {}}}%%
|
|
|
|
sequenceDiagram
|
|
|
|
Bert->>+Ernie: Start looking for the cookie!
|
|
|
|
Ernie-->>-Bert: Found it!
|
|
|
|
Note left of Ernie: Cookies are good
|
2022-09-05 00:48:36 +05:30
|
|
|
</pre>
|
|
|
|
</body>
|
2023-02-19 14:03:11 +05:30
|
|
|
<script type="module">
|
|
|
|
import mermaid from '/mermaid.esm.mjs';
|
|
|
|
mermaid.initialize({
|
|
|
|
theme: 'base',
|
|
|
|
themeVariables: {},
|
|
|
|
startOnLoad: true,
|
|
|
|
});
|
|
|
|
</script>
|
2022-09-05 00:48:36 +05:30
|
|
|
</html>
|