Easy Copy

by Moy
favorite
share
0.0
(0)
5
4
3
2
1
Score: 52/100
Description
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
6,369
downloads
4
forks
369
days
6
days
6
days
14
total PRs
1
open PRs
1
closed PRs
12
merged PRs
21
total issues
3
open issues
18
closed issues
0
commits
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

改动内容


展开中文说明

✨ 新功能

  • 新增"严格匹配"选项(在"文件名匹配标题时简化链接"设置下方)。关闭时(默认),文件名包含标题子串也会简化(如 "260422_note" 匹配标题 "note")。开启时,仅完全匹配才会简化。

🐛 Bug 修复

  • 标题链接现在正确处理特殊字符(# | ^ : %% [[ ]])——与 Obsidian 自动补全行为一致
  • 修复了文件名包含标题子串时的误判(如文件名 "JavaScript" + 标题 "Java" 不再被错误简化)

♻️ 重构

  • 将链接构建逻辑提取为纯函数,提升可测试性
  • 新增 vitest 测试框架,86 个测试用例

New Contributors

Full Changelog: https://github.com/Moyf/easy-copy/compare/1.5.2…1.5.3

README file from