joethei / obsidian-plantuml

Generate PlantUML Diagrams inside Obsidian.md
MIT License
368 stars 18 forks source link

SVG works, PNG does not #38

Closed boylesean closed 2 months ago

boylesean commented 1 year ago

Is your feature request related to a problem? Please describe.

A diagram with some level of complexity does not render locally as PNG, though SVG seems to work. All that is displayed is "Generating PlantUML diagram" and there is an error thrown on the console (see below).

Describe the solution you'd like

PNG would be nice b/c Image Toolkit allows me to copy an image to the system clipboard to paste into other apps.

Describe alternatives you've considered

As a workaround, I can put the code into a temporary file, then run plantuml.jar, which works but is klunky.

Additional context

There is some whining in the console wrt exceeding a quota. I captured debug output from the console:

obsidian.md-1661466216414.log

joethei commented 2 months ago

This should no longer happen, the issue was fixed a while ago, forgot to close this