vscode-plantuml
vscode-plantuml copied to clipboard
markdown .md file preview broken
I always draw PlantUML graph in a single .puml file before, and the preview works well but when I embed plantuml code in markdown file, like the way in the plugin description, then I got a borken image in markdown preview.
after I set plantuml server address to an online plantuml render serve, the preview works well then.
but I only want to use local bundled plantuml render instead of online server, could you please check this?
Similar situation. I've confirmed PlantUML is correctly installed, and the extension correctly configured: I can see a preview of my sequence diagram if I use ⌘⇧P PlantUML: Preview Current Diagram with the cursor inside the plantuml
or plantumlcode
fenced code block. ⌘⇧P Toggle Output then selecting PlantUML from the right-hand dropdown shows no log entries.
I have the same issue. Ubuntu 21.04 + VSCode 1.60.0 Alt-D to start PlantUML preview works.
Did you setup the settings in Visual Studio Code?
Adding these lines to settings.json
worked for me :)
// PlantUMLServer: Render diagrams by server which is specified with "plantuml.server". It's much faster, but requires a server.
// Local is the default configuration.
"plantuml.render": "PlantUMLServer",
// Plantuml server to generate UML diagrams on-the-fly.
"plantuml.server": "http://www.plantuml.com/plantuml",