AVATEAM-IT-SYSTEMHAUS / mkdocs-kroki-plugin

MkDocs plugin for Kroki-Diagrams
MIT License
46 stars 28 forks source link

Add option for inlining svg images #8

Closed oniboni closed 1 year ago

oniboni commented 2 years ago

Currently this plugin relies on img tags which are only feasible if the image source can be retrieved via HTTP GET. Also, it is not possible to select text inside of the images or apply CSS rules on their content (e.g. dark theme)

This can be solved if the svg image data is inserted directly into the DOM.

oniboni commented 1 year ago

I've closed the PR, because it seems to depend too much on other config options. I guess this should be done by an dedicated mkdocs plugin.