Add commands to quickly copy links to files, headings and blocks.
Available in the file context menu (right-click on files):
- Copy note link - Copies a wikilink to the note using the shortest unique path
- Copy note link as footnote - Copies the note link wrapped in an inline footnote:
^[[[link]]]
Available in the editor context menu (right-click in editor):
- Copy block link - Automatically adds or finds a block ID and copies a link to it:
[[note#^blockid]] - Copy block embed - Same as block link but prefixed with
!for embedding:![[note#^blockid]]
Important
The plugin is in active development — things can break, or change drastically between releases.
Ensure your files are regularly backed up.
Untill Copy Link is made availiable in the plugin directory, follow the steps below to install it.
- Download and enable the community plugin BRAT.
- Open BRAT settings.
- Press Add Beta Plugin.
- Paste https://github.com/greetclammy/copy-link in the text field.
- Select Latest version.
- Check Enable after installing the plugin.
- Press Add Plugin.
Note: to get updates for Copy Link, you will have to check for and install them manually.
- Download
copy-link.zipin theAssetsof the latest release. - Unzip the folder and place it in the
.obsidian/pluginsfolder (hidden on most OSes) at the root of your vault. - Reload plugins or app.
- Enable Copy Link in Obsidian settings > Community plugins > Installed plugins.
This plugin builds on Copy Block Link and employs some of its code.