plantuml render to svg
from what i can see gatsby-remark-plantuml underneath uses java to render uml diagrams
in short it works in following way
- we gonna need jar
wget https://github.com/plantuml/plantuml/releases/download/v1.2022.12/plantuml-1.2022.12.jar
- some sample uml diagram
demo.puml
@startuml
kubelet -> docker : GET /info
kubelet <- docker : cpu: 4, ram: 6
kubelet -> docker : POST /containers?name=nginx
kubelet <- docker : id: 234df23
@enduml
- render
cat demo.puml | java -jar plantuml-1.2022.12.jar -tsvg -pipe > demo.svg
will result into: