You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use PlantUML among other things to visualize json data, as described here. The preview in VS Code works just fine.
However, to get this into my project documentation, I want to turn the .puml into .svg and include it in markdown files.
For this I use node-plantuml, and it worked just fine with my class diagrams, calling puml generate -s api-example.puml -o api-example.svg.
However, with my json data, inside the .uml I have:
@startjson
{
...
}
@endjson
This should be valid, but in the output .svg I get no visualization, but rather the text No @startuml found.
The text was updated successfully, but these errors were encountered:
@vowstar I noticed that node-plantuml-back supports this feature, but the result is still bugged. I think bumping the plantumlVersion to something a bit more recent would fix it.
(manually replacing the .jar with the latest from sourceforge fixed it for me, but that's a manual step I would like to avoid in my setup; especially if I want to generate all UMLs as SVGs in CI, that would obviously not work)
@vowstar I noticed that node-plantuml-back supports this feature, but the result is still bugged. I think bumping the plantumlVersion to something a bit more recent would fix it.
(manually replacing the .jar with the latest from sourceforge fixed it for me, but that's a manual step I would like to avoid in my setup; especially if I want to generate all UMLs as SVGs in CI, that would obviously not work)
Sure. After testing, the old version does not work, the latest version is no problem.
I use PlantUML among other things to visualize json data, as described here. The preview in VS Code works just fine.
However, to get this into my project documentation, I want to turn the
.puml
into.svg
and include it in markdown files.For this I use node-plantuml, and it worked just fine with my class diagrams, calling
puml generate -s api-example.puml -o api-example.svg
.However, with my json data, inside the
.uml
I have:This should be valid, but in the output
.svg
I get no visualization, but rather the textNo @startuml found
.The text was updated successfully, but these errors were encountered: