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

support plantuml #17

Closed
huanggze opened this issue Jan 20, 2022 · 3 comments
Closed

support plantuml #17

huanggze opened this issue Jan 20, 2022 · 3 comments

Comments

@huanggze
Copy link

huanggze commented Jan 20, 2022

Would it be possible to integrate support for plantuml? Mermaid has some limits in describing package (or namespace). Adding plantuml would be a great alternate.

@mivinci
Copy link
Owner

mivinci commented Jan 20, 2022

@huanggze I've read the documentation and will make time to do it.

@mivinci
Copy link
Owner

mivinci commented Jan 26, 2022

@huanggze Hey pal. Sorry for the delay. I've studied how plantuml works and realized that plantuml needs a server side runtime aka the plantuml server. But Hugo is just a static site generator which means all the files generated by Hugo are static and live on browsers where plantuml can't. I've tried some tricky stuff like encoding the plantuml diagrams in the markdown file and sending them to the official plantuml online server, but since plantuml uses some kind of old ugly encoding technics that's gonna make Minima so clunky, I have to give it up. However, you can still use plantuml regardless of Hugo themes by writing the diagram in the plantuml online server and then using the link responded from the plantuml online server in your posts, just like how you insert an image into a markdown file.

@huanggze
Copy link
Author

huanggze commented Feb 4, 2022

that's cool, thanks for the help!

@mivinci mivinci closed this as completed Feb 4, 2022
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

2 participants