Skip to content

v0.25.1

Choose a tag to compare

@demian0311 demian0311 released this 04 Jun 22:47
· 169 commits to main since this release

Fixed

  • Embedded diagrams no longer clip in hosts (Obsidian, remark/markdown, web embeds). normalizeSvgForEmbed's content-tightening used a string bounding-box estimator that ignores <g transform> and misreads path arc commands, so it could compute a shifted, out-of-bounds box that overrode each renderer's already-correct viewBox and cut off the right/bottom of the diagram (ER tables, mindmap nodes, flowchart elements). Tightening is now only applied when the computed box sits within the renderer's canvas — a genuine sub-rectangle — otherwise the renderer's correct bounds are kept.