- 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:
[](https://tinyurl.com/2pte5cgt)<!---->
You can then copy the generated line into you PR Description or any Markdown file. It will render an image like bellow: