Awesome
logseq-copy-code-plugin
If you find this plugin – or any of my other Logseq plugins – useful and would like to support me, you can buy me a coffee 🙂
🚨 If the plugin doesn't work properly after installing or updating, please refresh Logseq before opening an issue
Features
Copy code from code blocks
- The position of the copy code icon can be configured in the settings
Demo
Copy inline code
Demo
Installation
Preparation
- Click the 3 dots in the righthand corner →
Settings
→Advanced
→ EnableDeveloper mode
andPlug-in system
- Click the 3 dots in the righthand corner →
Plugins
– OR – Use keyboard shortcutEsc t p
Load plugin via the marketplace (recommended)
- Click the 3 dots in the righthand corner →
Plugins
– OR – Use keyboard shortcutEsc t p
- Go to the
Marketplace
tab and search forCopy Code
→ ClickInstall
Load plugin manually
- Download the latest release of the plugin (e.g logseq-copy-code-plugin-v.1.0.0.zip) from Github
- Unzip the file
- Navigate to plugins (Click the 3 dots →
Plugins
– OR – Use keyboard shortcutEsc t p
) →Load unpacked plugin
→ Select the folder of the unzipped file
Settings
- Each time you make changes to the plugin settings, please reload the plugin to ensure that all settings are updated
License
MIT
Credits
- Plugin Marketplace Icon: <a href="https://www.flaticon.com/free-icons/seo-and-web" title="seo and web icons">SEO and web icons created by kerismaker - Flaticon</a>
- Plugin concept inspired by the Obsidian Code Block Copy plugin