benweet / stackedit

In-browser Markdown editor
https://stackedit.io/
Apache License 2.0
21.69k stars 2.72k forks source link

mermaid classDiagram does not render on StackEdit app #1583

Closed jcandan closed 3 years ago

jcandan commented 4 years ago

Diagrams of type classDiagram in the StackEdit app do not render.

Screen Shot 2019-12-28 at 1 53 10 PM

Example taken from mermaid.js:

There are several mermaid.js issues (#749, #748, #859) that deal with this functionality, but none here in the StackEdit issue queue.

I have not spun up a local instance to check into this, but I do see that the classRenderer is imported and configured in mermaidExtension.js. Not sure what else is missing.

aminzai commented 4 years ago

Hi, I create a pull request (https://github.com/benweet/stackedit/pull/1586), I thought it can help you.

benweet commented 3 years ago

Fixed with v5.14.10.

JanB1 commented 2 years ago

@benweet This seems not to have been solved, problem is still present in v5.14.10, Chrome 97.0.4692.71. Used same code as in the example presented by @jcandan.