mjbvz / vscode-markdown-mermaid

Adds Mermaid diagram and flowchart support to VS Code's builtin markdown preview
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid
MIT License
630 stars 112 forks source link

Prettified HTML tables render with erroneous top blank space, whereas compacted do not. #245

Closed RokeJulianLockhart closed 4 months ago

RokeJulianLockhart commented 4 months ago

As https://github.com/orgs/mermaid-js/discussions/5320#discussioncomment-8593268 explains:

An HTML table does render using https://marketplace.visualstudio.com/_apis/public/gallery/publishers/bierner/vsextensions/markdown-mermaid/1.22.0/vspackage: > ![image](https://github.com/mermaid-js/mermaid/assets/42837531/609108a8-a166-450e-8983-463f5c6bfef6) However, do note that prettified HTML renders incorrectly: ~~~.MD ```mermaid flowchart TD n1["
TestTL TestTR
TestBL TestBR
"] ``` ~~~ ```mermaid flowchart TD n1["
TestTL TestTR
TestBL TestBR
"] ``` renders as > ![image](https://github.com/mermaid-js/mermaid/assets/42837531/288974ed-e722-459e-99b2-335b6bec370b)
RokeJulianLockhart commented 4 months ago

https://github.com/mjbvz/vscode-markdown-mermaid/issues/245#issue-2154316901

Sorry, per https://mermaid.live/edit#pako:eNp1kDEPgjAQhf8KuZnEuDaEwTA6IZt1OOghRFpMOWII4b_bEhFJcHtfX_ve9UYoWkUgoGzaV1Gh5SBLpJFsjlcJXkiOGPOG4gUqQvUBj_arZzPOqOPsHB2c3DHSjeFgee7P1-CI81YNf1vUHHbyLWrPSDfGtuUn2NH6M7hBCJqsxlq5fYzSBIEEN5QmCcJJhfbhVzK5e9hzexlMAYJtTyH0T4VMSY13ixpEiU1H0xtcP30j, this is an issue with https://github.com/mermaid-js/mermaid.git instead.