Mermaid diagram render support

And that causes the mermaid diagram to render?

For the demonstration:

So there are 3 plugins to get a mermaid diagram out?

What’s the best one? :wink:

1 Like

Logseq Fenced Code plus is the best in most cases. It’s 100% local. :slight_smile:

3 Likes

I just started using Fenced Code Plus, and it works like a charm. Just one thing about it: I use a dark theme, and it renders all the lines in black. So I added this to my custom.css and now I’m very happy!

div.mermaid {
  background-color: rgba(255, 255, 255, 1) !important;
}
2 Likes

Is there a way to make mermaid render in the iOS app?

Not at this time. Plugin support for mobile must be implement first.

Could you help with code to reduce the scale size of the mermaid svg?

Is there any way to get Logseq to render a diagram inline from a file reference, just like it does for an image file?

And could Fenced Code Plus support theming and customization? I use a line like this at the start of my diagram:

%%{init: {‘theme’: ‘none’, ‘themeVariables’: { ‘edgeLabelBackground’: ‘#fff’}}}%%

but it has no effect within Logseq.