Quick Option to Copy to clipboard a code snippet

When using Obsidian I find myself constantly copying code snippets stored in the vault to use in another place.

For example, here is a piece of code that I would like to copy to the clipboard:

image

Right now I have to manually select the text and hit Ctrl+C.

I think it would be really useful to have a link in the corner of the snippet that appears when you hover the mouse in the snippet to copy the contents of the snippet to the clipboard.

1 Like

I think this is resolved now in the core app, and there’s also plugins for this. (Such as this, this, this, in this, this.)