Skip to content

Commit

Permalink
fix: Add language to codeblock
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Nov 15, 2023
1 parent 784a853 commit 480645d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions docs/syntax/packet.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ This diagram type is particularly useful for network engineers, educators, and s

## Syntax

packet-beta
start: "Block name" %% Single-bit block
start-end: "Block name" %% Multi-bit blocks
... More Fields ...
```md
packet-beta
start: "Block name" %% Single-bit block
start-end: "Block name" %% Multi-bit blocks
... More Fields ...
```

## Examples

Expand Down
2 changes: 1 addition & 1 deletion packages/mermaid/src/docs/syntax/packet.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This diagram type is particularly useful for network engineers, educators, and s

## Syntax

```
```md
packet-beta
start: "Block name" %% Single-bit block
start-end: "Block name" %% Multi-bit blocks
Expand Down

0 comments on commit 480645d

Please sign in to comment.