logseq-fenced-code-plus
logseq-fenced-code-plus copied to clipboard
Block Render Error when trying to render mermaid diagram
Hi,
After installing the plugin, I tried to render a simple diagram:
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
However, in logseq, it is shown as such:
Error copied from the console:
TypeError: c.mermaid.init is not a function
at mermaid.tsx:47:20
at Tj (react-dom.production.min.js:179:399)
at unstable_runWithPriority (react.production.min.js:24:26)
at Za (react-dom.production.min.js:73:8)
at Ra (react-dom.production.min.js:178:368)
at gf (react-dom.production.min.js:161:497)
at react-dom.production.min.js:73:230
at unstable_runWithPriority (react.production.min.js:24:26)
at Za (react-dom.production.min.js:73:8)
at $g (react-dom.production.min.js:73:176)
Fenced code plus version: 0.0.7
LogSeq version: 0.10.5 (c4341c1)
Best, Kenneth
Hi @priisholm Could you try the latest version (0.0.9) for this issue?
Hi @priisholm Could you try the latest version (0.0.9) for this issue?
I also get the same error with 0.0.9 of the plugin and 0.10.6 of logseq.
Also the same error from the console