You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this plugin to write an architecture documentation. One thing that I would find very useful is that the diagrams include links to make navigation easier. It is easily doable using UML so this part is fine.
My issue is that when using relative URL, the URLs are broken due to how the image is being embedded. The current solutions are either:
<img> which are static and hence don't allow to click links
<object> which are dynamic, but URL are resolved relative to the data they are using, that is the folder used for image generation, NOT the current page URL. E.g. if i am on my/sub/section/index.html and I have a link to page1.html, the link will actually go to something like images/page1.html.
I did not find a lot of information online on a possible workaround, apart from using <svg> directly. Would you know of any workaround ? Or would it be possible to have a new output format that injects the svg directly in the form of an tag with content inlined ?
The text was updated successfully, but these errors were encountered:
Hi,
I am using this plugin to write an architecture documentation. One thing that I would find very useful is that the diagrams include links to make navigation easier. It is easily doable using UML so this part is fine.
My issue is that when using relative URL, the URLs are broken due to how the image is being embedded. The current solutions are either:
<img>
which are static and hence don't allow to click links<object>
which are dynamic, but URL are resolved relative to thedata
they are using, that is the folder used for image generation, NOT the current page URL. E.g. if i am onmy/sub/section/index.html
and I have a link topage1.html
, the link will actually go to something likeimages/page1.html
.I did not find a lot of information online on a possible workaround, apart from using
<svg>
directly. Would you know of any workaround ? Or would it be possible to have a new output format that injects the svg directly in the form of an tag with content inlined ?The text was updated successfully, but these errors were encountered: