- Download the shell script bellow
- Make it executable:
chmod +x puml-to-md-image.sh
./puml-to-md-image.sh <path-to-puml-file> <path-to-the-project>
The script takes 2 arguments:
- Path the the puml file
- Path to the project
Example:
$ ./puml-to-md-image.sh ~/Projects/client/application/web/lazy-modules/search/uml/LoadData.puml ~/Projects/client
Getting Diagram link for ~/Projects/client/application/web/lazy-modules/search/uml/LoadData.puml
Copy this line into your PR Description:
[![Diagram Image](https://tinyurl.com/2pte5cgt)](https://tinyurl.com/2pte5cgt)<!--![Diagram Image](/Users/rasjonell/Projects/client/application/web/lazy-modules/search/uml/LoadData.puml)-->
You can then copy the generated line into you PR Description or any Markdown file. It will render an image like bellow: