Feature Quest: Export LaTeX and Mermaid as SVG

Hi,

I’ve browsed around looking for settings and plugins and couldn’t find anything, so here goes: it would be great to be able to export LaTeX and Mermaid (live previews) as vector graphics (SVG.)

Any hints or insights on this issue would be much appreciated.

All the best,
António

2 Likes

+1 for mermaid SVG (or even PDF) export. I know you can export the note as a PDF, but my mermaid graph is huge and even at a reduced size and tabloid page size in the PDF export, it still doesn’t fit in a single page.

1 Like

Agreed! The mermaid integration is great but doesn’t scale when a flowchart begins to be a bit big.
An Export could be a good first step to share notes externally (as html/pdf with smaller versions of the chart and the chart alone)

any updates?

Have you tried scaling down? or splitting into multiple mermaid diagrams? helped me.

A workaround that worked for me was using the ‘Copy Document as HTML’ plugin: GitHub - mvdkwast/obsidian-copy-as-html: Obsidian plugin: copy document as HTML, including images
In live view, going to command bar and selecting copy whole document as HTML, and then pasting into Word, gave me the diagram in a useable format. Exporting the document as HTML may have the same outcome.

+1 on this. The mermaid sig would be very useful for me. This is a handy environment in which to play with mermaid, but it’s a dead-end (esp. since PDF export isn’t working either).

This gives me the image as a png, not svg.

I’m not sure if that’s what you are looking for, but my draw.io plugin supports Mermaid and LaTeX in SVG.

demo