Skip to content

Clean Mermaid 0.1.11

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 03:37

English

Fixed

  • Turning Enable Clean Mermaid rendering off and on again now updates diagrams in Live Preview
    immediately, without scrolling or editing the note.
  • Changing Double-click action now updates the "double-click to expand" hint on open cards right
    away; panning and then double-clicking inside the expanded view no longer closes it by mistake.
  • Changing PNG resolution, interface language or toolbar visibility no longer resets a diagram you
    had zoomed or panned; changing the auto-fit mode or maximum upscale still re-fits.
  • With Render as image off, Mermaid click links in a diagram work again.
  • Only one card's More actions menu can be open at a time.
  • Copying an image now reports the real reason on failure instead of claiming the source was copied.
  • Deleting a custom theme now falls back to a built-in theme in settings, and stale theme references
    from older settings are repaired on upgrade.

Compatibility

  • Requires desktop Obsidian 1.14.4 or newer; Mermaid 12.1.0.

简体中文

修复

  • 在设置里切换「启用 Clean Mermaid 渲染」后,实时预览里的图表立即更新,不再需要滚动或编辑笔记才恢复。
  • 改了「双击操作」后,卡片上的「双击图表也能展开」提示会立即出现或消失;在展开查看里拖动平移后马上双击,
    不再被误判成关窗。
  • 调整 PNG 分辨率、界面语言或工具条显示方式,不再把已经放大或拖动过的图表弹回自适应;改「自适应方式」
    「最大放大倍率」时仍会重新适配。
  • 关掉「图片化渲染」后,Mermaid 的 click 链接恢复可点击。
  • 同一时刻只会打开一张卡片的「更多操作」菜单。
  • 复制图片失败时会说明真实原因,不再提示「已改为复制源码」却什么都没复制。
  • 删除自定义主题后,相关设置自动回到内置默认主题;升级时也会自动修复指向已删除主题的旧设置。

兼容性

  • 需要桌面版 Obsidian 1.14.4 及以上;Mermaid 版本为 12.1.0。