quantorconsulting / mkdocs_build_plantuml

MkDocs plugin to help generate your plantuml images locally or remotely as files (NOT inline)
MIT License
57 stars 15 forks source link

Links are not clickable #19

Closed LeNouveau closed 2 years ago

LeNouveau commented 2 years ago

Hi,

Is there a way to make links clickable ?

Example

I started with you example project. I updated sequence.puml :

@startuml
!include ../include/themes/light.puml
actor Foo1
boundary Foo2
control Foo3
entity Foo4
database Foo5
collections Foo6
Foo1 -> Foo2 : [[https://toto.com Hello World]]
Foo1 -> Foo3 : To control
Foo1 -> Foo4 : To entity
Foo1 -> Foo5 : To database
Foo1 -> Foo6 : To collections
@enduml

As a result : image

I can't click on the link.

If I access directly the SVG file, I'm fine. image

Any idea ?

Regards, LeNouveau

LeNouveau commented 2 years ago

In the result, I have to switch from <img src="..." /> to <object data="..." />.

But this is linked to how my image is referenced. ![Sequence](diagrams/out/sequence.svg#darkable)

So, it has nothing to do with this plugin. Sorry ! :D

Regards