github Moyf/easy-copy 1.7.1

8 hours ago

[1.7.1] - 2026-05-28

✨ New Features

  • Display name regex replacement (closes #37): added a "Display name: Regex replacement" option under Special copy format options. When enabled, a find-and-replace (with full regex support including capture groups like $1) is applied to the display text of copied heading/note links. Useful for stripping leading numbers (e.g. ^\d+\.\s*) or other prefixes from headings.
中文说明(点击展开)

✨ 新功能

  • 显示名称正则替换(修复 #37):在「特殊复制格式选项」中新增「显示名称:正则替换」选项。启用后,可对复制的标题/笔记链接的显示文本进行正则查找替换,支持 $1 等捕获组引用。适合去除标题前的序号(如 ^\d+\.\s*)等场景。

[1.7.0] - 2026-05-26

✨ Improvements

  • Code block detection — innermost block semantics: when the cursor is inside nested fenced code blocks (e.g. a ```````` block wrapping a ``` block), the command now copies the innermost block the cursor is in, rather than the outermost. Placing the cursor on an inner fence line (which belongs to the outer block's content) correctly returns the outer block.

🔧 Maintenance

  • Settings tab: replace async/await with void in all onChange handlers, following the Obsidian plugin coding guidelines
  • Settings tab: apply SettingGroup grouping updates
  • package.json: fix name field from obsidian-sample-plugin to easy-copy
中文说明(点击展开)

✨ 改进

  • 代码块检测——最内层语义:光标在嵌套代码块内时(如 ```````` 包裹 ```),智能复制现在复制最内层的代码块,而不是最外层。光标停在内层围栏行上(属于外层块的内容)时,则正确返回外层块。

🔧 维护

  • 设置页:将所有 onChange 回调中的 async/await 改为 void,符合 Obsidian 插件编码规范
  • 设置页:更新 SettingGroup 分组
  • package.json:修正 name 字段,从 obsidian-sample-plugin 更正为 easy-copy

Don't miss a new easy-copy release

NewReleases is sending notifications on new releases.