README.md

May 20, 2022 ยท View on GitHub

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 โ†’ Settings โ†’ Advanced โ†’ Enable Developer mode and Plug-in system
  2. Click the 3 dots in the righthand corner โ†’ Plugins โ€“ OR โ€“ Use keyboard shortcut Esc t p
  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