Code snippet add copy button

Is your feature request related to a problem? Please describe.
I use Anytype to record a lot of code snippets and use them in real development. But now I can only select and copy these code snippets, which is very annoying. Why not make a copy button in the code snippet? That way I can click on the code snippet I need and copy it to other places.

Describe the solution you’d like
The SiYuan Notes’s code snippet has a copy button that allows users to copy the code snippet with one click, which is an excellent design.
image

Describe alternatives you’ve considered
Add a copy button to the top right corner of the code snippet

Additional context
We suggest that the development team experience the software Siyuan Notes, which has merits worth analyzing in terms of user experience design

3 Likes

Hey,
I guess your request is the same as this one

If you are ok with it, I will merge yours.

1 Like

A post was merged into an existing topic: A copy-button inside a code-block