Skip to content

Clean Mermaid 0.1.10

Choose a tag to compare

@github-actions github-actions released this 01 Nov 14:57
· 6 commits to main since this release

English

Fixed

  • In reading view (and in %% cm:plain %% blocks), clicking a diagram no longer opens Obsidian's built-in image preview — a black overlay in which the diagram's labels were almost unreadable. A click or a right-click now does nothing, matching the behaviour you get with the plugin disabled. Double-clicking a diagram and the expand button are unaffected.
  • The expanded viewer no longer follows the PNG background setting. Set it to Transparent and exports stay transparent, but the viewer always paints the theme colour — the preview is no longer see-through and hard to read.
  • Updated a dependency to clear a published security advisory.

Compatibility

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

简体中文

修复

  • 阅读视图(以及 %% cm:plain %% 块)里单击图表不再弹出 Obsidian 自带的图片预览:此前单击或右键会打开一个黑底预览层,图上的说明文字几乎看不清;现在单击与关闭插件时一样,没有任何反应。双击图表或点右上角展开按钮不受影响。
  • 展开查看器的画布不再跟随「PNG 背景」设置:把「PNG 背景」设为「透明」后导出仍是透明底,但查看器里始终铺主题底色,不再出现整个预览区透明、图看不清的情况。
  • 更新安全相关依赖,消除一条已公开的漏洞公告。

兼容性

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