mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-09 18:39:41 +02:00
Merged typescript changes
This commit is contained in:
@@ -1,30 +1,29 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="http://localhost:9000/mermaid.js"></script>
|
||||
<script>
|
||||
<script>
|
||||
mermaid.initialize({
|
||||
theme: 'base',
|
||||
themeVariables: {},
|
||||
startOnLoad: true,
|
||||
});
|
||||
</script>
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Example</h1>
|
||||
<div class="mermaid">
|
||||
<h1>Example</h1>
|
||||
<pre class="mermaid">
|
||||
%%{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
|
||||
</div>
|
||||
<div class="mermaid">
|
||||
</pre>
|
||||
<pre class="mermaid">
|
||||
%%{init:{"theme":"base", "themeVariables": {}}}%%
|
||||
sequenceDiagram
|
||||
Bert->>+Ernie: Start looking for the cookie!
|
||||
Ernie-->>-Bert: Found it!
|
||||
Note left of Ernie: Cookies are good
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user