mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-02 15:16:49 +02:00
Merge pull request #6600 from kimulaco/docs/6599_fix-preview-error
docs: fix preview errors in the flowchart documentation
This commit is contained in:
@@ -969,12 +969,7 @@ flowchart TD
|
|||||||
|
|
||||||
You can use the `image` shape to include an image in your flowchart. The syntax for defining an image shape is as follows:
|
You can use the `image` shape to include an image in your flowchart. The syntax for defining an image shape is as follows:
|
||||||
|
|
||||||
```mermaid-example
|
|
||||||
flowchart TD
|
|
||||||
A@{ img: "https://example.com/image.png", label: "Image Label", pos: "t", w: 60, h: 60, constraint: "off" }
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
|
||||||
flowchart TD
|
flowchart TD
|
||||||
A@{ img: "https://example.com/image.png", label: "Image Label", pos: "t", w: 60, h: 60, constraint: "off" }
|
A@{ img: "https://example.com/image.png", label: "Image Label", pos: "t", w: 60, h: 60, constraint: "off" }
|
||||||
```
|
```
|
||||||
@@ -1600,6 +1595,7 @@ flowchart LR
|
|||||||
The "Markdown Strings" feature enhances flowcharts and mind maps by offering a more versatile string type, which supports text formatting options such as bold and italics, and automatically wraps text within labels.
|
The "Markdown Strings" feature enhances flowcharts and mind maps by offering a more versatile string type, which supports text formatting options such as bold and italics, and automatically wraps text within labels.
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
|
---
|
||||||
config:
|
config:
|
||||||
flowchart:
|
flowchart:
|
||||||
htmlLabels: false
|
htmlLabels: false
|
||||||
@@ -1616,6 +1612,7 @@ end
|
|||||||
```
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
|
---
|
||||||
config:
|
config:
|
||||||
flowchart:
|
flowchart:
|
||||||
htmlLabels: false
|
htmlLabels: false
|
||||||
|
@@ -576,7 +576,7 @@ flowchart TD
|
|||||||
|
|
||||||
You can use the `image` shape to include an image in your flowchart. The syntax for defining an image shape is as follows:
|
You can use the `image` shape to include an image in your flowchart. The syntax for defining an image shape is as follows:
|
||||||
|
|
||||||
```mermaid-example
|
```
|
||||||
flowchart TD
|
flowchart TD
|
||||||
A@{ img: "https://example.com/image.png", label: "Image Label", pos: "t", w: 60, h: 60, constraint: "off" }
|
A@{ img: "https://example.com/image.png", label: "Image Label", pos: "t", w: 60, h: 60, constraint: "off" }
|
||||||
```
|
```
|
||||||
@@ -980,6 +980,7 @@ flowchart LR
|
|||||||
The "Markdown Strings" feature enhances flowcharts and mind maps by offering a more versatile string type, which supports text formatting options such as bold and italics, and automatically wraps text within labels.
|
The "Markdown Strings" feature enhances flowcharts and mind maps by offering a more versatile string type, which supports text formatting options such as bold and italics, and automatically wraps text within labels.
|
||||||
|
|
||||||
```mermaid-example
|
```mermaid-example
|
||||||
|
---
|
||||||
config:
|
config:
|
||||||
flowchart:
|
flowchart:
|
||||||
htmlLabels: false
|
htmlLabels: false
|
||||||
|
Reference in New Issue
Block a user