Marian Klemm36 downloadsCopy prompt code blocks with a single click.
Copy prompt code blocks in Obsidian with a single click.
Prompt Block Copy adds a dedicated copy button to fenced prompt-style code blocks so their contents can be copied without selecting the text or activating the editor.
The plugin currently recognizes fenced code blocks with these language identifiers:
```text
Your prompt here
```
```txt
Your prompt here
```
```prompt
Your prompt here
```
Once the plugin is available in the Obsidian Community Plugin directory:
Before the Community Plugin release, the plugin can be installed through BRAT using this repository:
MarianKlemm/obsidian-prompt-block-copy
Copy the following files into:
<vault>/.obsidian/plugins/prompt-block-copy/
Required files:
main.jsmanifest.jsonstyles.cssRestart Obsidian and enable Prompt Block Copy under Community plugins.
Prompt Block Copy works entirely inside Obsidian.
It does not:
Clipboard access is used only when the user presses the copy button.
MIT
Marian Klemm