danielyaa5 / puml-for-markdown

A CLI tool to embed interactive PUML diagrams to your github markdown files.
MIT License
296 stars 62 forks source link

Add configurable plantuml server #3

Closed danielyaa5 closed 2 years ago

danielyaa5 commented 2 years ago

See: https://github.com/danielyaa5/puml-for-markdown/issues/2 I was able to test this with a docker instance https://github.com/plantuml/plantuml-server.

Here's what I ran

docker run -d -p 8080:8080 plantuml/plantuml-server:jetty
node bin/index.js --puml-server-url http://localhost:8080

Just note this server url would need to be public not localhost for rendering the inline images in markdown but if you just want to use links should still work fine with localhost