github Moyf/easy-copy 1.9.0

5 hours ago

1.9.0 - 2026-10-13

✨ New Features

  • Custom regex copy targets: create named copy rules with your own regular expressions (flags, capture group, description, enable toggle) to copy text in syntax the built-in targets don't cover. The rule editor validates the regex as you type and can copy a ready-to-use AI prompt to help generate one.
  • Reorderable copy targets: built-in and custom targets now share one drag-to-reorder list under Settings → Copy targets → Formatted text; the order is the matching priority, and Markdown links are included. Each row has its own enable toggle — the old "Customize targets" master switch was removed, the row toggles now always apply.
  • Short same-file heading links: with Resolve link path on paste enabled, pasting a copied heading link within the same note now always produces the short [[#Heading]] form — matching Obsidian's native behavior — regardless of the heading display-text setting.
  • Full-block display text for block links (#40): new opt-in setting Use the whole block as display text takes the block link alias from the entire (multi-line) block — soft-wrapped continuation lines joined with spaces — instead of a single line. Display-text cleanup is improved in both modes: 2^10-style caret expressions are no longer mistaken for block IDs, list markers are only stripped at line starts, and pipes are removed so they can't truncate wiki aliases.

🐛 Fixed

  • Unicode block display text (#41): block link aliases now apply the word limit to space-separated text containing Latin Extended letters, Cyrillic, or Unicode punctuation instead of truncating it by character count. CJK text keeps the character limit, and character truncation no longer splits surrogate pairs (e.g. emoji).
中文说明(点击展开)

✨ 新功能

  • 自定义正则复制对象:可用自定义正则表达式(标志、捕获组、说明、启用开关)创建命名复制规则,复制内置对象不支持的文本格式。规则编辑器支持正则实时校验,并可复制即用型 AI 提示词辅助生成正则。
  • 复制对象排序:内置与自定义对象合并为「设置 → 复制目标 → 格式文本」下的一个可拖拽排序列表,顺序即匹配优先级,Markdown 链接也参与排序。每行自带启用开关——原「自定义复制对象」总开关已移除,行开关始终生效。
  • 同文件标题短链接:启用「粘贴时解析链接路径」后,在同一笔记内粘贴复制的标题链接时,始终生成 [[#Heading]] 短形式(与 Obsidian 原生行为一致),不再受标题显示文本设置影响。
  • 块链接显示文本可取整个块(#40):新增可选设置「显示文本取整个块」,块链接别名改为取自整个(多行)块——软换行的后续行用空格拼接——而非单独一行。两种模式下显示文本清理均有改进:2^10 这类上标记号不再被误当作块 ID 剥离,列表前缀仅在行首移除,| 会被清除以避免截断 wiki 别名。

🐛 修复

  • Unicode 块显示文本(#41):包含拉丁扩展字母、西里尔字母或 Unicode 标点的空格分词文本,现在会正确采用单词数上限,不再被错误地按字符截短。CJK 文本仍使用字符数上限,按字符截取时也不会再拆断代理对(如 emoji)。

Don't miss a new easy-copy release

NewReleases is sending notifications on new releases.