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.