No description
Find a file
2023-08-22 10:37:25 +02:00
.github Fixed job permissions 2023-08-16 15:33:55 +02:00
src feat: plugin works in reading mode (#2, #3) 2023-08-22 10:29:30 +02:00
.editorconfig initial commit 2023-08-16 15:14:07 +02:00
.eslintignore initial commit 2023-08-16 15:14:07 +02:00
.eslintrc initial commit 2023-08-16 15:14:07 +02:00
.gitignore initial commit 2023-08-16 15:14:07 +02:00
.npmrc initial commit 2023-08-16 15:14:07 +02:00
esbuild.config.mjs initial commit 2023-08-16 15:14:07 +02:00
LICENSE.md initial commit 2023-08-16 15:14:07 +02:00
manifest.json chore: version bump 1.1.0 2023-08-22 10:35:04 +02:00
package-lock.json chore: added commitizen for commit message formatting 2023-08-21 17:07:46 +02:00
package.json chore: fixed wrong version 2023-08-22 10:37:25 +02:00
plugin-screenshot.png initial commit 2023-08-16 15:14:07 +02:00
README.md Removed redundant line from README 2023-08-16 15:20:45 +02:00
styles.css initial commit 2023-08-16 15:14:07 +02:00
tsconfig.json initial commit 2023-08-16 15:14:07 +02:00
version-bump.mjs initial commit 2023-08-16 15:14:07 +02:00
versions.json initial commit 2023-08-16 15:14:07 +02:00

Obsidian Copy Inline Code Plugin

This plugin for Obsidian adds an icon inside each inline code, which when clicked, copies the content of the code into the clipboard. See screenshot of the functionality below.

Screenshot of the copy inline code plugin

Installation

Using built-in Obsidian plugin installer

From Obsidian v0.9.8, you can activate this plugin within Obsidian by doing the following:

  • Open Settings > Third-party plugin
  • Make sure Safe mode is off
  • Click Browse community plugins
  • Search for "Copy Inline Code"
  • Click Install
  • Once installed, close the community plugins window and activate the newly installed plugin

Installing manually

  • Download main.js, styles.css, manifest.json from the latest release
  • Copy the files to your vault [valut-folder]/.obsidian/plugins/copy-inline-code-plugin/.

Updates

You can follow the same procedure to update the plugin

Development

  • Clone this repo.
  • Make sure your NodeJS is at least v16 (node --version).
  • npm i or yarn to install dependencies.
  • npm run dev to start compilation in watch mode.