Jiří Václavovič93 downloadsFits wide Mermaid diagrams to the page width and shows them at full size in an overlay on click.
An Obsidian plugin that keeps wide Mermaid diagrams readable.
Works in Reading view and Live Preview. In Live Preview, clicking the diagram opens the overlay instead of switching the block to source editing – use the code block's edit button (</>) to edit the diagram source.
Clicks with a modifier key (Cmd, Ctrl, Alt, Shift) are ignored, so they keep their default behaviour.
main.js, manifest.json and styles.css from the latest release.<your vault>/.obsidian/plugins/mermaid-autozoom/.