animate.css icon indicating copy to clipboard operation
animate.css copied to clipboard

feat: Add Copy Button to Documentation Code Snippets

Open dipanshurdev opened this issue 11 months ago • 4 comments

Issue

The documentation currently lacks a copy button next to code snippets, which would make it easier for users to copy the code quickly. This feature is common in many technical docs and helps avoid issues like accidentally missing characters when copying.

screenshot

Screenshot 2025-01-12 214640

Reproduce

  • Add a small copy button next to each <pre> or <code> block in the docs.
  • This button, when clicked, should copy the code to the clipboard.

dipanshurdev avatar Jan 12 '25 16:01 dipanshurdev

lo revisare

carlosmriveraz avatar Jan 13 '25 16:01 carlosmriveraz

Hey @dipanshurdev, can I work on this issue? Could you please assign it to me?

Arohi-jd avatar Nov 11 '25 18:11 Arohi-jd

Hey @dipanshurdev, can I work on this issue? Could you please assign it to me?

Alright 👍🏻

dipanshurdev avatar Nov 11 '25 19:11 dipanshurdev

@dipanshurdev Please check PR added a “Copy” button to all code snippets in the documentation

Arohi-jd avatar Nov 12 '25 08:11 Arohi-jd