MSzturc / obsidian-advanced-slides

Create markdown-based reveal.js presentations in Obsidian
https://mszturc.github.io/obsidian-advanced-slides/
MIT License
939 stars 80 forks source link

mermaid - box cuts letters like q, p... #295

Open Pshemas opened 3 months ago

Pshemas commented 3 months ago

Describe the bug When you create chart (flowchart for example) and you have letters like "p", "q", "j" the lower part of the letter gets cut out. In built-in slides this works correctly, the whole letter displays.

Samples to Reproduce Create something like this in a mermaid codeblock:

flowchart LR
a --> b
b --> q
q --> j

And display it the browser. On my end it looks like this:

obraz

Expected behavior The result should be closer to:

obraz