Skip to content

Clean Mermaid 0.1.8

Choose a tag to compare

@github-actions github-actions released this 19 Oct 11:30
· 27 commits to main since this release

English

New

  • The fullscreen viewer now opens filling the viewport and fits the diagram automatically; small diagrams are enlarged (up to 800%). The toolbar's adaptive-fit button is a two-state switch: manual zoom or pan turns it off, and clicking the button, double-clicking, or pressing 0 turns it back on.

Changed

  • Inline diagrams now default to a maximum upscale of 120% (was 150%) and a maximum height of 100% of the viewport (was 80%).

Fixed

  • Changing a custom theme's light/dark mode now updates rendered diagrams immediately.

Compatibility

  • Requires desktop Obsidian 1.14.4 or later; bundled Mermaid version is 12.1.0.

简体中文

新增

  • 全屏查看器改为铺满视口打开并自动装下图表,小图会被放大(上限 800%)。工具条的自适应按钮改为两态开关:手动缩放或平移后自动关闭,点按钮、双击或按 0 可重新开启。

变更

  • 内联图表默认最大放大倍率调整为 120%(原 150%),最大高度调整为视口 100%(原 80%)。

修复

  • 修改自定义主题的明暗模式后,已渲染图表会立即更新。

兼容性

  • 需要桌面版 Obsidian 1.14.4 及以上;自带 Mermaid 12.1.0。