How to render a table in a flowchart? #5320
-
Sometimes, I want to render a table inside a flowchart. However, even Markdown tables don't render: flowchart TD
n1["`
test | test
-----|-----
test | test
`"]
renders as without even an error for unsupported Markdown. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
After taking a look myself, I think we have to take the 3 examples given in the documentation less as examples, and more as the only functionality. In the live editor I was only able to get bold, italic, and text wrapping to work. To be fair, the docs do read:
and one could argue that tables aren't "text formatting". Checkout this response which confirms it |
Beta Was this translation helpful? Give feedback.
@Piratepie, it appears that the documentation might be incorrect, for although
```mermaid flowchart TD n1["<table><thead><tr><th>TestTL</th><th>TestTR</th></tr></thead><tbody><tr><td>TestBL</td><td>TestBR</td></tr></tbody></table>"] ```
doesn't render here:
an HTML table does via https://marketplace.visualstudio.com/_apis/public/gallery/publishers/bierner/vsextensions/markdown-mermaid/1.22.0/vspackage and https://mermaid.live/edit#pako:eNpFjrEOgkAMhl-FdDa5uF4Ig2F0QjbrUGgRIneY44ghhHf38FCn_l_y_W0XqAcW0ND0w6tuyfmkzNGit8crQuqp6iV…