Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Images link instead of plantuml links #11

Open
jbressand opened this issue Oct 31, 2023 · 0 comments
Open

[Feature request] Images link instead of plantuml links #11

jbressand opened this issue Oct 31, 2023 · 0 comments

Comments

@jbressand
Copy link

puml-for-markdown can output images with the -b option.
I would like my markdown to contain links to my local images files generated by puml-for-markdown instead of plantuml urls or tinyurl urls.

For exemple, here is my markdown README.md

 # Test puml
<!--![root diagram](./puml/root.puml)-->

And here is my puml file puml/root.puml :

@startuml
!include <C4/C4_Context.puml>

    Person(test, "Toto", "Test")
@enduml

When I apply the following command :

puml-for-markdown -d -b images

It creates a png file containing my shehma : images/puml/root.png
But in my markdown, it created a tinyurl link.
I would like my markdown to be transformed like this :

 # Test puml
![root diagram](./images/puml/root.png)<!--![root diagram](./puml/root.puml)-->
@jbressand jbressand changed the title Images link instead of plantuml links [Feature request] Images link instead of plantuml links Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant