From 022e6670d0d827006d5707920d85cd8bf9f12dd8 Mon Sep 17 00:00:00 2001 From: PIRADATA <16529503+piradata@users.noreply.github.com> Date: Fri, 24 Mar 2023 17:45:27 -0300 Subject: [PATCH] docs: fix hexagon node flowchart code example Use `mermaid-example` instead of `mmd` so that Mermaid formats the code properly. --- docs/syntax/flowchart.md | 2 -- packages/mermaid/src/docs/syntax/flowchart.md | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/syntax/flowchart.md b/docs/syntax/flowchart.md index c2c04f750..c79f12b23 100644 --- a/docs/syntax/flowchart.md +++ b/docs/syntax/flowchart.md @@ -183,8 +183,6 @@ flowchart LR ### A hexagon node -Code: - ```mermaid-example flowchart LR id1{{This is the text in the box}} diff --git a/packages/mermaid/src/docs/syntax/flowchart.md b/packages/mermaid/src/docs/syntax/flowchart.md index 42c7cbf5b..8e73f597b 100644 --- a/packages/mermaid/src/docs/syntax/flowchart.md +++ b/packages/mermaid/src/docs/syntax/flowchart.md @@ -122,9 +122,7 @@ flowchart LR ### A hexagon node -Code: - -```mmd +```mermaid-example flowchart LR id1{{This is the text in the box}} ```