Skip to content

Clean Mermaid 0.1.7

Choose a tag to compare

@github-actions github-actions released this 13 Oct 08:50
· 36 commits to main since this release

English

Changed

  • Decision nodes (the diamond drawn by A{...}) are now sized to their label: a one-line label no longer sits inside a large empty diamond, so diagrams come out more compact. You can switch back to Mermaid's native square diamond under Settings → Rendering → Decision node shape; %% cm:plain %% blocks always use the native square.

Fixed

  • Fixed the layout of the "Custom themes" section in the settings panel: with several custom themes, the description text no longer squeezes the theme list and the "Add custom theme" row into narrow columns.

Compatibility

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

简体中文

变更

  • 判断节点(A{...} 画出的菱形)改为贴着文字量绘制:单行短标签不再被裹进一大片空白,图表更紧凑。可在「设置 → 渲染 → 判断节点形状」改回 Mermaid 原生正方形;%% cm:plain %% 块恒用原生画法。

修复

  • 修复设置面板「自定义主题」一节的布局:自定义主题较多时,说明文字不再把主题列表与「新增自定义主题」行挤成窄条。

兼容性

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