Skip to content

greetclammy/copy-link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copy Link

Add commands to quickly copy links to files, headings and blocks.

Key features

File Commands

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]]]

Block Commands

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]]

Install

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.

BRAT (recommended)

  1. Download and enable the community plugin BRAT.
  2. Open BRAT settings.
  3. Press Add Beta Plugin.
  4. Paste https://github.com/greetclammy/copy-link in the text field.
  5. Select Latest version.
  6. Check Enable after installing the plugin.
  7. Press Add Plugin.

Install manually

Note: to get updates for Copy Link, you will have to check for and install them manually.

  1. Download copy-link.zip in the Assets of the latest release.
  2. Unzip the folder and place it in the .obsidian/plugins folder (hidden on most OSes) at the root of your vault.
  3. Reload plugins or app.
  4. Enable Copy Link in Obsidian settings > Community plugins > Installed plugins.

Thanks

This plugin builds on Copy Block Link and employs some of its code.

About

Obsidian plugin that adds commands to quickly copy links to files, headings and blocks.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •