From b3959299bcb41b4f9c2449a1a359f17b3cdfb015 Mon Sep 17 00:00:00 2001 From: bogay Date: Tue, 18 Apr 2023 18:51:52 +0800 Subject: [PATCH] docs(flowchart): wrap br tag by codeblock so that it can render `
` text on doc correctly. --- docs/syntax/flowchart.md | 6 +++--- packages/mermaid/src/docs/syntax/flowchart.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/syntax/flowchart.md b/docs/syntax/flowchart.md index 6f5b973e8..d10b2c6c5 100644 --- a/docs/syntax/flowchart.md +++ b/docs/syntax/flowchart.md @@ -742,9 +742,9 @@ end Formatting: -- For bold text, use double asterisks \*\* before and after the text. -- For italics, use single asterisks \* before and after the text. -- With traditional strings, you needed to add
tags for text to wrap in nodes. However, markdown strings automatically wrap text when it becomes too long and allows you to start a new line by simply using a newline character instead of a
tag. +- For bold text, use double asterisks (`**`) before and after the text. +- For italics, use single asterisks (`*`) before and after the text. +- With traditional strings, you needed to add `
` tags for text to wrap in nodes. However, markdown strings automatically wrap text when it becomes too long and allows you to start a new line by simply using a newline character instead of a `
` tag. This feature is applicable to node labels, edge labels, and subgraph labels. diff --git a/packages/mermaid/src/docs/syntax/flowchart.md b/packages/mermaid/src/docs/syntax/flowchart.md index 936607cbd..bdc4a2fa0 100644 --- a/packages/mermaid/src/docs/syntax/flowchart.md +++ b/packages/mermaid/src/docs/syntax/flowchart.md @@ -465,9 +465,9 @@ end Formatting: -- For bold text, use double asterisks \*\* before and after the text. -- For italics, use single asterisks \* before and after the text. -- With traditional strings, you needed to add
tags for text to wrap in nodes. However, markdown strings automatically wrap text when it becomes too long and allows you to start a new line by simply using a newline character instead of a
tag. +- For bold text, use double asterisks (`**`) before and after the text. +- For italics, use single asterisks (`*`) before and after the text. +- With traditional strings, you needed to add `
` tags for text to wrap in nodes. However, markdown strings automatically wrap text when it becomes too long and allows you to start a new line by simply using a newline character instead of a `
` tag. This feature is applicable to node labels, edge labels, and subgraph labels.