✨ SoloMD v5.4.0 — Workflow, Customization & Multi-Device Sync Upgrade
Highlights / 核心更新
- Snippets Panel &
:::alert-*Callout Containers (#653) — Added a dedicated right-sidebar Snippets (代码片段) panel with add/edit/duplicate/delete, search, double-click & context-menu insert, auto-pinning of the most recently used snippet,%%/${sel}selection wrapping,@@cursor placement, and all 19 built-in variables (${filebase},${title},${filebaseprev},${filebasenext},${date},${time},${ts},${weekday},${weekdaycn}, etc.). Also added native:::alert-info/:::alert-warning/:::alert-danger/:::alert-success/:::notecontainer rendering. - Browser-Style Tab Groups & Auto-Open Sibling Files (#672) — Added collapsible color-coded tab groups with drag-to-group, right-click group management, optional auto-grouping by parent folder, and optional auto-opening of sibling files in the same folder (configurable globally or for specific folders + extensions).
- Expanded Custom Toolbar (#665) — Redesigned the toolbar customizer with a two-column category filter & search layout so any Command Palette action (such as WebDAV Push/Pull, Export HTML, etc.) can be pinned to the toolbar, reordered, and assigned a custom icon from 20 presets.
- Settings "General" 6 Sub-Tabs (#668) — Reorganized the 50+ General settings into 6 clean sub-tabs (Appearance, Typography, Editor, Rendering, Layout, Navigation) with seamless cross-tab search highlighting.
- VS Code Shortcut Preset (#692) — Added a one-click VS Code shortcut preset (
Ctrl/Cmd+Shift+P→ Command Palette,Ctrl/Cmd+B→ Bold,Ctrl/Cmd+Shift+B→ Toggle Sidebar) with one-click undo. - Multi-Device Cloud Sync Polish (#673, #674, #675) —
- Automatic cloud sync pull on network reconnect (
onlineevent) across Git, WebDAV, Local Cloud Vault, and Cloud API. - File-tree manual order (
.solomd/order.json) and sort mode (.solomd/sort.json) now sync across PCs. - Persistent machine-local device UUID (shown in Settings modal header) and
.solomd/sync-journal.logmulti-device conflict detection & grouped deletion batches.
- Automatic cloud sync pull on network reconnect (
- Window Position Restore without Jump (#671) — Deferred
win.show()until after monitor bounds clamping (eliminating the flash-then-center jump) and added a configurableWindow Position Restorepolicy (Center before showing if off-screen, Always keep exact last position, Always center). - Live Edit LaTeX
$$+ Enter + IME Freeze Fix — Skipped overlapping Markdown decorations inside$$...$$/\[...\]blocks, isolatedMathWidgetDOM (contentEditable = 'false',user-select: none), and kept single-line$$...$$isolated in plain-block mode. - AI Ecosystem & Accurate Agent Cost Estimates (PR #632, #651) — Adopted
llm-pricesfor accurate Anthropic / OpenAI / Gemini / DeepSeek agent-run cost estimates (thanks @Mattbusel!), and added Codex CLI (~/.codex/config.toml), DSH (~/.dsh/mcp.json), and OpenCode MCP auto-detection & injection.