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.
Features
Currently supporting "Simplified Link Copying." For example, when the copied heading matches the filename, it will directly copy the note link instead of the link pointing to that heading.
Example: AFileName.md
# A File Name ⬅️ (Easy) Copy it
Some other text...
In this case, it will directly copy [[AFileName]] instead of [[AFileName#A File Name]].
This makes it more convenient for users who use the title as a first-level heading (H1) to copy note links.
[!note]
The following cases will all be considered as "filename matching the title":
- Exact match:
Undertale.mdand# Undertale- Filename contains the title:
251021_EasyCopyand# EasyCopy- If the title contains spaces, they will be automatically removed, so this case is also considered a match:
EasyCopy.mdand# Easy Copy
This is enabled by default, you can turned it off in settings:
特性
当前支持“简化链接复制”,举例来说,当你复制的标题匹配文件名时,会直接复制笔记链接而不是指向该标题的链接。
例如: 你想不想堆个雪人.md
# 你想不想堆个雪人 ⬅️ 在此处复制
或者骑车更加厉害 🚲
这种时候,会直接复制 [[你想不想堆个雪人]] 而非 [[你想不想堆个雪人#你想不想堆个雪人]]
这对于使用标题作为一级标题的用户来说,可以更方便地复制笔记链接。
[!note]
以下情况都会被视作“文件名匹配标题”:
- 完全一致:
Undertale.md和# Undertale- 文件名含有标题:
251021_EasyCopy和# EasyCopy- 标题如果含有空格,会自动去除,所以这种情况也视作一致:
EasyCopy.md和# Easy Copy
该特性默认启用,你可以在设置中关闭: