enchant97 / note-mark

Note Mark is a lighting fast and minimal; web-based Markdown notes app.
https://notemark.docs.enchantedcode.co.uk/
GNU Affero General Public License v3.0
297 stars 6 forks source link

(feat) Add a copy button to code blocks #170

Open aayushus opened 8 months ago

aayushus commented 8 months ago

Does it fit the projects scope?

Why?

Adding a "copy" button to a notes editor offers practical benefits, such as facilitating easy sharing and quick duplication. This feature preserves formatting, reduces user effort, ensures consistency in UI/UX, and enhances mobile-friendly functionality. The button also integrates with the clipboard, streamlining the process of copying and pasting content across applications. Overall, it contributes to a more efficient and user-friendly experience.

Solution?

image image

Add a copy button as shown in Notion's screenshot on the left. Using the code block here.

Alternatives?

No response

Extra Context

No response

enchant97 commented 8 months ago

Thanks for your suggestion! Seems like a useful feature to have.