This plugin is recommanded to be used with Obsidian To Mkdocs.
Obsidian — MetaCopy
The purpose of this plugin is to get quickly the value of a front matter key. You can set multiple value in settings, as : key1, key2, key3, ...
If the plugin found multiple key in the front matter :
- The context takes the first value from the front matter.
- The command creates a menu where you can choose the value you want.
The value is added in your pasteboard, so you can paste it everywhere.
Yeah. That's it.
Here is the plugin in action :

Create link from front matter
You can create a link using a front matter key.
- The key must be both in
keyand inkey link - You need to configure the
base link
The link creation work as the main plugin : file menu will take the first value, so if this value is the link key, it will create a link.
Also, the editor menu will add an option to copy the link if it exists.
Folder note support
You can enable the support of folder note (with the "folder name" comportment) to create link without the file's name if it's the same of the last folder of the link key.
eg :
- If you set
link_key: folder1/folder2/noteIndex - If your file is named
noteIndex - The result link will be :
https://www.github-page.io/yourpage/folder1/folder2/noteIndex/
Disable menu
You can disable the menu using a front matter key. There are two behavior :
- Setting is enabled : The key must be present and set to true to enable the menu.
- Setting is disabled: The default comportment. The key must be absent or set to false to disable the menu.
Regardless of the option, the command modal continue to work.
Obsidian Mkdocs
Also, the plugin is recommended to be used with Obsidian To Mkdocs to copy link without editing the source file.
To use Obsidian2mkdocs with Metacopy, here is the configuration :

This template allow to copy a link as you will do with Notion or Google Docs (for example).
The file template will be :
title:
category: something/like/that
share: trueHere is a demo :

The plugin is inspired by Copy Publish URL but for all link (instead of only publish).
🖥️ Development
- Fork / clone the repository
npm installnpm run dev(ornpm run build)
