diff --git a/docs/syntax/flowchart.md b/docs/syntax/flowchart.md index 7e1804af9..52c726e59 100644 --- a/docs/syntax/flowchart.md +++ b/docs/syntax/flowchart.md @@ -952,7 +952,7 @@ flowchart TD A@{ icon: "fa:user", form: "square", label: "User Icon", pos: "t", h: 60 } ``` -### Parameters +#### Parameters - **icon**: The name of the icon from the registered icon pack. - **form**: Specifies the background shape of the icon. If not defined there will be no background to icon. Options include: @@ -979,7 +979,7 @@ flowchart TD A@{ img: "https://example.com/image.png", label: "Image Label", pos: "t", w: 60, h: 60, constraint: "off" } ``` -### Parameters +#### Parameters - **img**: The URL of the image to be displayed. - **label**: The text label associated with the image. This can be any string. If not defined, no label will be displayed. diff --git a/packages/mermaid/src/docs/syntax/flowchart.md b/packages/mermaid/src/docs/syntax/flowchart.md index 5d9dce324..1f446d2fb 100644 --- a/packages/mermaid/src/docs/syntax/flowchart.md +++ b/packages/mermaid/src/docs/syntax/flowchart.md @@ -559,7 +559,7 @@ flowchart TD A@{ icon: "fa:user", form: "square", label: "User Icon", pos: "t", h: 60 } ``` -### Parameters +#### Parameters - **icon**: The name of the icon from the registered icon pack. - **form**: Specifies the background shape of the icon. If not defined there will be no background to icon. Options include: @@ -581,7 +581,7 @@ flowchart TD A@{ img: "https://example.com/image.png", label: "Image Label", pos: "t", w: 60, h: 60, constraint: "off" } ``` -### Parameters +#### Parameters - **img**: The URL of the image to be displayed. - **label**: The text label associated with the image. This can be any string. If not defined, no label will be displayed.