#422, add support for column ratios in shortcode

This commit is contained in:
Alex Shpak
2024-10-04 13:36:14 +02:00
parent 925dbd3b9f
commit 9cc0b0225d
12 changed files with 108 additions and 186 deletions
@@ -14,7 +14,7 @@ create a `mermaid.json` file in your `assets` folder!
{{% columns %}}
```tpl
{{</* mermaid class="optional" >}}
{{</* mermaid [class="..."] >}}
stateDiagram-v2
State1: The state with a note
note right of State1
@@ -28,7 +28,7 @@ stateDiagram-v2
<--->
{{< mermaid class="optional" >}}
{{<mermaid>}}
stateDiagram-v2
State1: The state with a note
note right of State1
@@ -37,6 +37,6 @@ stateDiagram-v2
end note
State1 --> State2
note left of State2 : This is the note to the left.
{{< /mermaid >}}
{{</mermaid>}}
{{% /columns %}}