diff --git a/docs/syntax/packet.md b/docs/syntax/packet.md index fb6b030f2..efe305f3b 100644 --- a/docs/syntax/packet.md +++ b/docs/syntax/packet.md @@ -16,7 +16,7 @@ This diagram type is particularly useful for developers, network engineers, educ ## Syntax -```md +``` packet-beta start: "Block name" %% Single-bit block start-end: "Block name" %% Multi-bit blocks @@ -27,7 +27,7 @@ start-end: "Block name" %% Multi-bit blocks Using start and end bit counts can be difficult, especially when modifying a design. For this we add a bit count field, which starts from the end of the previous field automagically. Use `+` to set the number of bits, thus: -```md +``` packet-beta +1: "Block name" %% Single-bit block +8: "Block name" %% 8-bit block diff --git a/packages/mermaid/src/docs/syntax/packet.md b/packages/mermaid/src/docs/syntax/packet.md index 211ce81fc..09beb27a6 100644 --- a/packages/mermaid/src/docs/syntax/packet.md +++ b/packages/mermaid/src/docs/syntax/packet.md @@ -10,7 +10,7 @@ This diagram type is particularly useful for developers, network engineers, educ ## Syntax -```md +``` packet-beta start: "Block name" %% Single-bit block start-end: "Block name" %% Multi-bit blocks @@ -21,7 +21,7 @@ start-end: "Block name" %% Multi-bit blocks Using start and end bit counts can be difficult, especially when modifying a design. For this we add a bit count field, which starts from the end of the previous field automagically. Use `+` to set the number of bits, thus: -```md +``` packet-beta +1: "Block name" %% Single-bit block +8: "Block name" %% 8-bit block