Add a button for copying code to clipboard to code blocks on preview

plugin-idea

(Claudio Spizzi) #1

Hi Takuya

It would be great if you can implement a button in every code block (preview view) to copy the content of the code block into the clipboard. Maybe a copy icon in the top right corner of the block? This is relevant for the Desktop app version. I have many PowerShell code snippets documented which I use periodically.

Thanks.


(Takuya Matsuyama) #2

Hi Claudio,

Thank you for the suggestion.
Copy button sounds useful.
However, I guess it would be a personal preference because it may be distractive for some people since it is basically a note-taking app.
So it would be great if it’s a plugin.
Your plugin submission will be appreciated!