Skip to content

vyleung/logseq-copy-code-plugin

Repository files navigation

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

logseq-copy-code-plugin main demo

Copy inline code

Demo

logseq-copy-code-plugin inline code demo

Installation

Preparation

  1. Click the 3 dots in the righthand corner → SettingsAdvanced → Enable Developer mode and Plug-in system
  2. Click the 3 dots in the righthand corner → Plugins – OR – Use keyboard shortcut Esc t p

Load plugin via the marketplace (recommended)

  1. Click the 3 dots in the righthand corner → Plugins – OR – Use keyboard shortcut Esc t p
  2. Go to the Marketplace tab and search for Copy Code → Click Install

Load plugin manually

  1. Download the latest release of the plugin (e.g logseq-copy-code-plugin-v.1.0.0.zip) from Github
  2. Unzip the file
  3. Navigate to plugins (Click the 3 dots → Plugins – OR – Use keyboard shortcut Esc 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
    logseq-copy-code-plugin settings

License

MIT

Credits