Description
Productivity Tools Plugin
Category: Productivity Tools
The Easy Copy plugin simplifies the process of copying specific types of content within Obsidian by smartly detecting the context around the cursor. It allows users to instantly copy inline code, bold text, highlighted sections, italicized words, block IDs, and heading links without manually selecting text. Users can fine-tune which types of content to target and adjust link formats for copied headings.
Reviews
No reviews yet.
Stats
37
stars
37 stargazers
6,369
downloads
6,369 downloads
4
forks
4 forks
369
days
369 days since creation
6
days
6 days since last commit
6
days
6 days since last release
14
total PRs
14 total pull requests
1
open PRs
1 open pull requests
1
closed PRs
1 closed pull requests
12
merged PRs
12 merged pull requests
21
total issues
21 total issues
3
open issues
3 open issues
18
closed issues
18 closed issues
0
commits
0 total commits in last one year
Latest Version
7 days ago
Changelog
What's Changed
✨ Features
- Added "Strict heading match" option under link simplification settings. When disabled (default), filenames containing the heading as a substring will also be simplified (e.g. "260422_note" → "note"). When enabled, only exact matches are simplified.
🐛 Bug Fixes
- Heading links now correctly handle special characters (
# | ^ : %% [[ ]]) — matching Obsidian's autocomplete behavior - Fixed false-positive note-link simplification when filename contains heading as substring (e.g. "JavaScript" + "Java")
♻️ Refactor
- Extracted link-building logic into pure functions for better testability
- Added vitest with 86 tests
- Fix: encode spaces as %20 in Markdown link URLs by @lightmotive in https://github.com/Moyf/easy-copy/pull/32
- Test: add vitest harness with pure function extraction by @lightmotive in https://github.com/Moyf/easy-copy/pull/33
改动内容
展开中文说明
✨ 新功能
- 新增"严格匹配"选项(在"文件名匹配标题时简化链接"设置下方)。关闭时(默认),文件名包含标题子串也会简化(如 "260422_note" 匹配标题 "note")。开启时,仅完全匹配才会简化。
🐛 Bug 修复
- 标题链接现在正确处理特殊字符(
# | ^ : %% [[ ]])——与 Obsidian 自动补全行为一致 - 修复了文件名包含标题子串时的误判(如文件名 "JavaScript" + 标题 "Java" 不再被错误简化)
♻️ 重构
- 将链接构建逻辑提取为纯函数,提升可测试性
- 新增 vitest 测试框架,86 个测试用例
New Contributors
- @lightmotive made their first contribution in https://github.com/Moyf/easy-copy/pull/32
Full Changelog: https://github.com/Moyf/easy-copy/compare/1.5.2…1.5.3
README file from