You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```mermaidflowchart LR List@{ shape: braces, label: "📋 List ☐ Step A ☑ Step B ☑ Step C ☐ Step D ☐ Step E ☐ Step F ☐ Step G" }```
I want to add exactly one empty line between 📋 List and the steps.
All my attempts, however, give different results:
```mermaidflowchart LR List@{ shape: braces, label: "📋 List ☐ Step A ☑ Step B ☑ Step C ☐ Step D ☐ Step E ☐ Step F ☐ Step G" }```
flowchart LR
List@{ shape: braces, label: "📋 List
☐ Step A
☑ Step B
☑ Step C
☐ Step D
☐ Step E
☐ Step F
☐ Step G" }
Loading
```mermaidflowchart LR List@{ shape: braces, label: "📋 List<br> ☐ Step A ☑ Step B ☑ Step C ☐ Step D ☐ Step E ☐ Step F ☐ Step G" }```
flowchart LR
List@{ shape: braces, label: "📋 List<br>
☐ Step A
☑ Step B
☑ Step C
☐ Step D
☐ Step E
☐ Step F
☐ Step G" }
Loading
```mermaidflowchart LR List@{ shape: braces, label: "📋 List<br><br> ☐ Step A ☑ Step B ☑ Step C ☐ Step D ☐ Step E ☐ Step F ☐ Step G" }```
flowchart LR
List@{ shape: braces, label: "📋 List<br><br>
☐ Step A
☑ Step B
☑ Step C
☐ Step D
☐ Step E
☐ Step F
☐ Step G" }
Loading
```mermaidflowchart LR List@{ shape: braces, label: "📋 List <br> ☐ Step A ☑ Step B ☑ Step C ☐ Step D ☐ Step E ☐ Step F ☐ Step G" }```
flowchart LR
List@{ shape: braces, label: "📋 List
<br>
☐ Step A
☑ Step B
☑ Step C
☐ Step D
☐ Step E
☐ Step F
☐ Step G" }
Loading
... except 3 and 4 (which both render 3 <br/>s)
I have looked at the help:
There is no mentioning of label: parameter in shape:, and
In https://mermaid.ai/open-source/syntax/flowchart.html#parameters of Icon Shape, it merely says label: The text label associated with the icon. This can be any string. If not defined, no label will be displayed. - without specifying what syntax the label: has.
According to Commonmark rules, a newline with an empty line is enough to generate a paragraph.
I am very new to Mermaid - so it might be mentioned somewhere else.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For this diagram
I want to add exactly one empty line between
📋 Listand the steps.All my attempts, however, give different results:
flowchart LR List@{ shape: braces, label: "📋 List ☐ Step A ☑ Step B ☑ Step C ☐ Step D ☐ Step E ☐ Step F ☐ Step G" }flowchart LR List@{ shape: braces, label: "📋 List<br> ☐ Step A ☑ Step B ☑ Step C ☐ Step D ☐ Step E ☐ Step F ☐ Step G" }flowchart LR List@{ shape: braces, label: "📋 List<br><br> ☐ Step A ☑ Step B ☑ Step C ☐ Step D ☐ Step E ☐ Step F ☐ Step G" }flowchart LR List@{ shape: braces, label: "📋 List <br> ☐ Step A ☑ Step B ☑ Step C ☐ Step D ☐ Step E ☐ Step F ☐ Step G" }... except 3 and 4 (which both render 3
<br/>s)I have looked at the help:
label:parameter inshape:, andlabel: The text label associated with the icon. This can be any string. If not defined, no label will be displayed.- without specifying what syntax thelabel:has.According to Commonmark rules, a newline with an empty line is enough to generate a paragraph.
I am very new to Mermaid - so it might be mentioned somewhere else.
Thank you for your time and effort
Beta Was this translation helpful? Give feedback.
All reactions