Skip to content

Commit d5ab976

Browse files
committed
Fix code block
1 parent 863512a commit d5ab976

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@ npm install --global @mermaid-js/mermaid-cli
3030

3131
## Usage
3232

33-
````mermaid formant=[svg|png] {img attribute}="value" {cli option}="value"`
33+
- code block start with <code>```mermaid</code>
34+
- code block end with <code>```</code>
35+
36+
options:
37+
38+
```markdown
39+
formant=[svg|png] {img attribute}="value" {cli option}="value"`
40+
```
3441

3542
- format (optional): Output image format (defaults to svg)
3643
- img attribute (optional): alt, width, height, class, id, style, title

0 commit comments

Comments
 (0)