AVATEAM-IT-SYSTEMHAUS / mkdocs-kroki-plugin

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

Image height miscalculation while rendering in SVG format #79

Open btek-fng opened 1 month ago

btek-fng commented 1 month ago

When activating the SVG inline rendering (which replaces the default <img> tag with <svg>), a top margin appears on the embedded image.

Github - C4_Container Diagram Sample - bigbankplc.puml

kroki_margin

It seems like manually removing the height attributes within the html, makes rendering correct.