Image+text in a flowchart node do not display inline #5010
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Hello all !
Description
When an image followed directly by a text is placed in a flowchart node, the renderer displays first the image and then the text in a new line.
I can add additional line break using "\n" but cannot find a way to display image+text inline.
Steps to reproduce
You can play with the code samplein the Mermaid Live Editor to see that image and text are displayed but not inline.
Moreover, the image width seems enforced by the text length, even if the image width property is given.
Screenshots
Code Sample
Setup
Suggested Solutions
The objective is here to use the image as an icon. It is close to what is proposed by the syntax "fa:fa-car" that links with fontawesome, but I would like to be ble to use local images instead.
Any help would be really appreciated, thanks in advance !
The text was updated successfully, but these errors were encountered: