Closed leros321 closed 3 years ago
@leros321 are you able to take a look at the changes in #24 for me? It should be possible to achieve what you're looking for with a configuration like this now:
plugins:
- drawio-exporter:
embed_format: '<object type="image/svg+xml" data="{img_src}"></object>'
I guess you found another solution, but this will be going out in 0.8.0 in a few minutes.
We are using your plugin within mkdocs pages with svg format. We found out, we cannot use interactivity within svg(hyperlinks) if
<img>
tag is used.Is it possible instead of
<img>
tag to use<object>
tag?We tested it as following and hyperlinks from svg works only in object
<object type="image/svg+xml" data="image.svg"></object>