Skip to content

Commit

Permalink
format and add theme to cypress info.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Yokozuna59 committed Jun 14, 2023
1 parent 7e639be commit 4f380fa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
14 changes: 8 additions & 6 deletions cypress/platform/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@
<body>
<h1>info below</h1>
<pre class="mermaid">
info
info
</pre>

<hr />
<pre class="mermaid">
info showInfo
</pre>

<script type="module">
import mermaid from './mermaid.esm.mjs';
mermaid.initialize({
theme: 'forest',
// themeCSS: '.node rect { fill: red; }',
logLevel: 3,
flowchart: { curve: 'linear' },
gantt: { axisFormat: '%m/%d/%Y' },
sequence: { actorMargin: 50 },
// sequenceDiagram: { actorMargin: 300 } // deprecated
securityLevel: 'loose',
});
</script>
</body>
Expand Down
11 changes: 5 additions & 6 deletions demos/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,18 @@
<body>
<h1>Info diagram demos</h1>
<pre class="mermaid">
info
</pre
>
info
</pre>

<hr />
<pre class="mermaid">
info showInfo
</pre
>
info showInfo
</pre>

<script type="module">
import mermaid from './mermaid.esm.mjs';
mermaid.initialize({
theme: 'forest',
logLevel: 3,
securityLevel: 'loose',
});
Expand Down

0 comments on commit 4f380fa

Please sign in to comment.