#422, add support for column ratios in shortcode
This commit is contained in:
@@ -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 %}}
|
||||
|
||||
Reference in New Issue
Block a user