gregzuro / obsidian-kroki

MIT License
45 stars 27 forks source link

Hyperlinks in PlantUML not clickable #3

Closed xnd1124 closed 2 years ago

xnd1124 commented 3 years ago

Hyperlinks are shown but not clickable Example:

Bob -> Alice : hello [[https://www.google.com]]
Alice -> Wander: hello
Wonderland -> next: hello
next -> Last: hello
Last -> next: hello
next -> Wonderland : hello
Wonderland -> Alice : WTF?
Alice -> Bob: hello

image

xnd1124 commented 3 years ago

In obsidian-plantuml for hyperlinks you need to use plantuml-map type.

You can also use plantuml-ascii to generate ASCII Art, or plantuml-map to generate a png image with clickable links.

Can you fix it in this plugin?

xnd1124 commented 3 years ago

I think problem in tag \<img> which not allow interactive action. If I manualy replace it on another tag \<object> all works fine image image P.S. tag \<img> is result of work of svgProcessor image

gregzuro commented 3 years ago

I think problem in tag which not allow interactive action. If I manualy replace it on another tag <object> all works fine

I've got it working with a variant of this, yeah.

I'll have it up later today.

Thanks!

gregzuro commented 3 years ago

Fixed in 5c1fe0a096a774071794204e6b86fbd93a35d345.