Full Changelog: 5.5.3...5.5.4
✨ 新增功能
Mermaid 圖表增強
- 新增 Mermaid 圖表在新標籤頁中打開的功能
- 支持 Mermaid 圖表的縮放(zoom)和平移(pan)互動操作
- 新增查看按鈕(view button),方便用戶快速操作
標籤雲自定義顏色
- 標籤頁面的標籤雲支持自定義顏色功能
- 側邊欄標籤卡片也支持自定義顏色配置
- 新增
custom_colors配置選項,允許為不同標籤指定特定顏色
🐛 Bug 修復
- 修正 ABCJS 音樂譜渲染問題,改用
textContent以提高顯示準確性 - 修復代碼高亮系統的樣式問題
- 修復頁面標題(page header)的樣式和佈局問題
- 修復代碼高亮 diff 模式的樣式顯示
- 恢復並優化了部分被誤改的樣式設定
🔄 重構優化
- 優化代碼高亮系統的整體結構
- 優化 Mermaid 圖表的渲染和顯示邏輯
- 改進標籤雲的實現方式,將自定義顏色從內聯樣式改為 CSS 類
- 優化代碼結構,提升可讀性和維護性
- 移除多餘的換行符號,保持代碼整潔
📦 依賴更新
- 更新插件版本以修正相容性問題
🙏 貢獻者
感謝以下貢獻者對本版本的貢獻:
- @bugwz - Mermaid SVG 互動功能
- @Void4m0n - 標籤雲自定義顏色功能
- @akFace - 樣式修復
- @DeepChirp - text-autospace 相關改進
✨ New Features
Mermaid Diagram Enhancements
- Added functionality to open Mermaid diagrams in a new tab
- Support for zoom and pan interactions on Mermaid diagrams
- Added view button for quick access to diagram operations
Tag Cloud Custom Colors
- Tag cloud on the tags page now supports custom colors
- Sidebar tag card widget also supports custom color configuration
- Added
custom_colorsconfiguration option to assign specific colors to different tags
🐛 Bug Fixes
- Fixed ABCJS music score rendering issue by using
textContentfor improved display accuracy - Fixed code highlighting system styling issues
- Fixed page header styles and layout problems
- Fixed diff mode styling in code highlighting
- Restored and optimized some incorrectly modified style settings
🔄 Refactoring & Optimization
- Optimized the overall structure of the code highlighting system
- Improved Mermaid diagram rendering and display logic
- Enhanced tag cloud implementation by switching from inline styles to CSS classes for custom colors
- Optimized code structure for better readability and maintainability
- Removed redundant line breaks to keep code clean
📦 Dependency Updates
- Updated plugin versions to fix compatibility issues
🙏 Contributors
Thanks to the following contributors for their contributions to this release:
- @bugwz - Mermaid SVG interaction features
- @Void4m0n - Tag cloud custom colors feature
- @akFace - Style fixes
- @DeepChirp - text-autospace related improvements