github zhitongblog/solomd v5.2.1
SoloMD v5.2.1

one hour ago

SoloMD v5.2.1 — Editor Power-Ups, Workspace Auto-Relinking & Export Fidelity

✨ New Features & Editor Enhancements

  • Workspace-Wide Link Auto-Update on Rename & Move (#571): Renaming or moving a note or folder in the sidebar now automatically updates inbound [[WikiLinks]], [[folder/Note#Heading|Alias]], ![[attachment.png|300]] embeds, and relative Markdown/reference/HTML links across all .md files in your workspace (skipping inline backticks & fenced code blocks). Clean open tabs reload automatically, Ctrl/Cmd+Z undo restores links on move, and you can toggle this in Settings → Advanced.
  • VS Code-Style Multi-Cursor Editing (#436, #90): Enabled full multi-selection in CodeMirror (Alt+Click / Mod+Click to add cursors, Alt+Drag column selection, Mod+Alt+G for next occurrence, Mod+Alt+Shift+G for all occurrences, and Mod+Alt+Up/Down to add cursors above/below).
  • Configurable "Today / 今日" Daily Note Button: Added Settings → Writing → Show "Today" daily note button so users who don't keep a daily journal can hide the Today button across desktop/mobile sidebars and tags panels — automatically freeing Ctrl/Cmd+D for multi-cursor Select Next Occurrence.
  • Extended Image Sizing =WxH & Obsidian Image Embeds (#379): Native support for ![alt](url =300x200), =300x, =x200, =300, =50% (including paths with spaces & parentheses) and ![[img.png]] / ![[img.png|300]] / ![[img.png|caption|400x250]] across Live Edit, Preview/Reading, HTML/PDF, and Word .docx export.
  • Full Keyboard Scrolling in Reading & Preview Mode (#437): Entering Reading Mode (Ctrl/Cmd+Shift+R) or Preview Mode auto-focuses the reading pane and supports PageUp / PageDown, Space / Shift+Space, ArrowUp / ArrowDown, Home / End, Ctrl+Home / Ctrl+End, and Cmd+Up / Cmd+Down.
  • Collapsible Replace Row in Find Bar (#419): Ctrl/Cmd+F now opens with the Replace row collapsed behind a ▸ / ▾ toggle button to prevent accidental clicks, while Ctrl+H (Opt+Cmd+F on macOS) automatically expands Replace.
  • Continuous Chapter/Section Renumbering in Merged Books (#585): Exporting a folder as a merged book now continuously renumbers hierarchical prefixes (1.1, 1.2.1, …) across multi-file chapters without touching years or prose counts.

🐛 Export & Workspace Bug Fixes

  • Standalone HTML Export (#574, #584): Added optional A4/page-card pagination, preserved empty subfolder headings in merged folder exports, made the bookmark/search sidebar toolbar adaptive when narrowed, and added custom content column width (0 = unlimited full width, or >= 700px).
  • PDF Bookmark Jump Accuracy (#580): Fixed PDF outline bookmarks jumping 1–2 lines below headings by computing destination Y coordinates at the top edge of heading boxes plus a breathing margin.
  • Pandoc EPUB Export (#578, #579, #583): Pre-renders mermaid fences to embedded high-DPI PNG data URIs before Pandoc conversion and bundles clean EPUB CSS for code blocks, inline code, and tables.
  • Export Save Path & Overwrite Safety (#581, #582): Export dialogs remember the last-used directory, suggest non-colliding (1) / (2) filenames when a target already exists, and guard against empty filenames.
  • Deep Folder Tree Auto-Expand (#576): Expanding a folder chain or revealing a deeply nested file now reliably expands every intermediate subfolder level.

SoloMD v5.2.1 更新说明(中文)

✨ 新增功能与编辑体验升级

  • 重命名 / 移动文件或文件夹时自动同步双链与相对路径(#571):在文件树中重命名或拖拽移动笔记、文件夹时,自动重写工作区内所有 .md 文件指向它的 [[双链]]、[[目录/笔记#标题|别名]]、![[图片.png|300]] 以及相对路径 Markdown / 引用式 / HTML 链接(自动跳过行内代码与代码块),支持移动撤销回滚,并可在「设置 → 高级」中随时开关。
  • VS Code 风格多光标编辑(#436, #90):完整支持 Alt+Click / Ctrl(Cmd)+Click 添加多光标、Alt+拖拽 矩形列选、Mod+Alt+G 选中下一个匹配项、Mod+Alt+Shift+G 选中全部匹配项、Mod+Alt+上下方向键 在上下行添加光标。
  • 「今日」日记入口可配置隐藏:在「设置 → 写作」新增「显示『今日』日记入口按钮」开关;不写日记的用户关闭后可隐藏桌面端/移动端侧边栏与标签面板中的今日入口,并自动释放 Ctrl/Cmd+D 用于多光标选中下一个匹配词。
  • 支持 =WxH 图片尺寸语法与 ![[图片|尺寸]] 嵌入(#379):原生支持 ![](_assets/1.png =300x200)、=300x、=x200、=50% 及 ![[pic.png|300]] / ![[pic.png|图注|400x250]],在实时预览、阅读模式、HTML / PDF / Word (.docx) 导出中全面生效。
  • 阅读模式与纯预览模式完整键盘翻页(#437):进入阅读模式(Ctrl/Cmd+Shift+R)或预览模式自动聚焦阅读区,支持 PageUp / PageDown、空格 / Shift+空格、上下方向键、Home / End、Ctrl+Home / Ctrl+End 及 macOS Cmd+上下方向键。
  • 查找栏默认折叠「替换」防误触(#419):按 Ctrl/Cmd+F 默认仅展示查找行(左侧 ▸ 按钮可展开替换),按 Ctrl+H / Opt+Cmd+F 自动展开替换行。
  • 文件夹合并导出多篇章节连续编号(#585):跨多文件合并导出成书时自动连续重排 1.1、1.2.1 等多级章节序号。

🐛 导出与文件树修复

  • HTML 导出增强(#574, #584):支持分页卡片视图、保留空子文件夹章节标题、书签栏窄宽度自适应排布,以及自定义正文列宽(支持 0 不限宽或自定义像素宽度)。
  • PDF 书签精确定位(#580):修复点击 PDF 书签跳转后标题偏下 1–2 行甚至被切到上一页末尾的问题。
  • EPUB 导出图表与代码块样式(#578, #579, #583):Pandoc 导出 EPUB 前自动将 Mermaid 图表预渲染为高清内嵌图片,并内置代码块与表格排版样式。
  • 导出重名保护与路径记忆(#581, #582):自动记忆上次导出目录,同名文件智能递增 (1) / (2) 避免静默覆盖。
  • 多层级目录自动展开修复(#576):修复深层嵌套目录一键展开不完整的问题。

Don't miss a new solomd release

NewReleases is sending notifications on new releases.