feat: 新增 Mermaid 圖表功能的選項,支持在新標籤頁中打開和縮放平移互動

fix: 更新插件版本以修正相容性問題
refactor: 優化代碼結構,提升可讀性
This commit is contained in:
Jerry
2026-01-26 22:48:18 +08:00
parent 954598b45c
commit e3e1d9e6ce
7 changed files with 82 additions and 69 deletions

View File

@@ -319,6 +319,7 @@ aside:
# If set 0 will show all
limit: 40
color: false
custom_colors:
# Order of tags, random/name/length
orderby: random
# Sort of order. 1, asc for ascending; -1, desc for descending
@@ -939,6 +940,10 @@ mermaid:
theme:
light: default
dark: dark
# Enable "Open in New Tab" button to view diagram in a separate window
open_in_new_tab: true
# Enable zoom and pan interactions on diagrams
zoom_pan: true
# chartjs
# see https://www.chartjs.org/docs/latest/