Skip to content

1.0.13

Choose a tag to compare

@github-actions github-actions released this 18 Jul 09:27
· 31 commits to master since this release

Batch renumber & "No numbering" pseudo-template / 批量重编号与「不编号」伪模板

English

  • Per-rule batch renumber: every path rule now has an inline batch button. One confirmed click renumbers all files the rule matches — each file with its own effective template, so a root-rule batch never overrides more specific folder/file rules. Files opted out via frontmatter, containing foreign (non-plugin) numbering, or resolving to "No numbering" are skipped automatically; open files keep undo support, and the confirmation dialog shows the affected file count up front.
  • "No numbering" pseudo-template: the template dropdown of each path rule gains a No numbering option — switch off numbering for a whole folder in one move instead of adding a frontmatter flag to every file. It participates in normal most-specific-wins resolution (so daily/ → No numbering beats your root rule), and existing numbers are left frozen, not stripped.
  • Polish: the folder browser in the path suggestion popup now uses matching lucide arrow icons for "go up one level" (arrow-left) and "drill down" (arrow-right).

中文

  • 规则级批量重编号:每条路径规则行内新增批量按钮,确认一次即可对该规则命中的全部文件重新编号——每个文件用它自己生效的模板,点根规则的批量不会覆盖更具体的文件夹/文件规则。frontmatter 已关闭、含外来(非本插件)编号、或解析为「不编号」的文件会被自动跳过;已打开的文件支持撤销,确认框会先显示受影响的文件数。
  • 「不编号」伪模板:路径规则的模板下拉新增**「不编号」**选项——一步关闭整个文件夹的编号,不用再逐文件写 frontmatter 开关。它参与正常的「最具体规则优先」解析(daily/ → 不编号 能压过根规则),已有编号会冻结保留、不会被剥除。
  • 打磨:路径建议弹窗的文件夹浏览中,「返回上一级」与「下钻」改用同族 lucide 箭头图标(arrow-left / arrow-right)。

Also included since 1.0.9 (1.0.10–1.0.12 were never published as releases):

  • Clipboard sanitizing (1.0.10, on by default): copying numbered headings now strips the invisible Word Joiner marker from the clipboard, so pasting into chats/documents is clean — while pasting back into your own vault restores the original text via an in-memory map, avoiding double numbering.
  • Folder browsing in path suggestions (1.0.11–1.0.12): the path-rule input now opens a level-by-level folder browser (click a name to select it, use the arrow to drill down, header to select the current level), consistently — including when you re-click a rule already set to / or a folder.

另附 1.0.9 以来的变化(1.0.10–1.0.12 未单独发布过 Release):

  • 复制净化(1.0.10,默认开):复制已编号标题时会剥离剪贴板里的不可见 Word Joiner 标记,粘贴到聊天/文档更干净;粘贴回自己库内时经内存映射还原原文,避免双重编号。
  • 路径建议的文件夹浏览(1.0.11–1.0.12):路径规则输入框改为按层级浏览文件夹(点名字选中、点箭头下钻、点顶部选中当前层),且外观一致——包括重新点击已配置为 / 或某文件夹的规则行。