mirror of
https://github.com/jldiaz/copy-protocol-plugin.git
synced 2026-07-22 06:56:55 +00:00
No description
| .github/workflows | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| demo.gif | ||
| esbuild.config.mjs | ||
| eslint.config.mts | ||
| LICENSE | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| styles.css | ||
| tsconfig.json | ||
| version-bump.mjs | ||
| versions.json | ||
Copy Text Protocol
This is a simple plugin for Obsidian that registers a custom obsidian://copy protocol.
It allows you to create internal links that, when clicked, will silently copy a specific text to your clipboard without opening any external applications or showing popups.
Usage
Create a link using the following format:
[Link text](obsidian://copy?text=Your%20text%20here)
When you click the link, "Your text here" will be copied to your clipboard, and a small notice will appear to confirm the action.
Note: Remember to URL-encode your text (e.g., use %20 instead of spaces).
Installation
You can install this plugin via BRAT:
- Open the BRAT settings in Obsidian.
- Click "Add Beta plugin".
- Paste the repository URL:
jldiaz/copy-protocol-plugin. - Enable the plugin in your Community Plugins list.
