Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Copy Inline Code

ozavodnyozavodny15k downloads

Easily copy the contents of an inline code element with a single click.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates7

This plugin for Obsidian adds a customizable 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.
73%
HealthGood
ReviewSatisfactory
About
Add a clickable, customizable copy icon inside inline code spans to copy their content to the clipboard. Click the icon to copy inline code quickly without selecting text.
CodeIconsInterface
Details
Current version
2.0.0
Last updated
12 months ago
Created
3 years ago
Updates
7 releases
Downloads
15k
Compatible with
Obsidian 0.15.0+
License
GPL-3.0
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
ozavodnyozavodny
github.com/Alddar
GitHubozavodny
  1. Community
  2. Plugins
  3. Code
  4. Copy Inline Code

Related plugins

Iconic

Customize your icons and their colors directly from the UI, including tabs, files & folders, bookmarks, tags, properties, and ribbon commands.

Iconize

Add icons to anything in Obsidian, including files, folders, and text.

Inline Encrypter

Encrypt secrets in your notes.

Templater

Create and use dynamic templates.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

PlantUML

Generate PlantUML diagrams.

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.

Tray

Run Obsidian from the system tray for customisable window management and global quick notes.