Support copying file/header/block links to clipboard
If this can be supported, one can paste the link to other external apps and open the desired Obsidian note/header/block there.
By header, do you mean the section under the current heading, or the text of the heading itself?
By header, do you mean the section under the current heading, or the text of the heading itself?
Originally, I was thinking about the link to the text of the heading itself, i.e. the link to "Header" in the example below. On a second thought, the text/section under the current heading may also be useful, i.e. all the text below "Header" in the example below.
## Header
Text.
- [ ] Task
Therefore, there can be different combinations for copying file/header/block links:
- Only copy the link to the file, header (link to the text of the header) or block
- Copy the link and the associated text to the file, header or block, i.e.
- File link plus the content of the file
- Header link plus the text under the header
- Block link plus the text of the block
- Only copy the text of the file (file content), header (text under the header) or block