qjebbs / vscode-plantuml

Rich PlantUML support for Visual Studio Code.
MIT License
1.07k stars 151 forks source link

Not exporting .svg files #554

Open leftside opened 11 months ago

leftside commented 11 months ago

I've included some .svg icons in the documentation folder for use in the main .puml diagram:

skinparam rectangle { FontSize 22 FontStyle bold BorderColor #0A6ED1 BackgroundColor transparent }

skinparam card<> { BorderThickness 0 BackgroundColor transparent FontColor #074d92 FontStyle bold StereotypeFontColor transparent StereotypeFontSize 1 }

rectangle "SAP Business Technology Platform" as btpOutboundAlias {
card "\nCloud Integration" as cloudIntOutboundAlias <> }

The diagram renders ok in the PlantUML Preview window, but when I export the diagram, the .svg icons are not included.

xprss commented 11 months ago

image

From the server.

leftside commented 11 months ago

Ok thanks. Weird I don’t get the same error when the code renders in the preview pane. Everything appears ok in the preview pane, but the error only appears when I try and do an export (to png).