yuru744 downloadsShow a copy button while editing fenced codeblocks in Live Preview.
An Obsidian plugin that keeps a copy button visible while you edit a fenced code block in Live Preview.
In Live Preview, Obsidian shows a language label and copy control on a code block when the cursor is outside it. Click inside the block to edit, and that control disappears.
This plugin fills that gap. While you are editing a fenced code block, a copy icon stays in the top-right corner of the block.
``` or ~~~).The plugin copies the code itself, not the fence lines. When the copy succeeds, the icon briefly changes to a checkmark.
When the cursor leaves the block, or the editor loses focus, the plugin hides its button so Obsidian’s built-in copy control can show again.
There are no settings. Enable the plugin and it is ready to use.
Search for Code Block Copy Always in Community Plugins and install it.