Skip to content

feat: Add Copy Button to Documentation Code Snippets  #1842

Open

Description

@dipanshurdev

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.

Activity

  1. carlosmriveraz commented on Jan 13, 2025

    @carlosmriveraz

    lo revisare

  2. Arohi-jd commented on Nov 11, 2025

    @Arohi-jd

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

  3. dipanshurdev commented on Nov 11, 2025

    @dipanshurdev
    Author

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

    Alright 👍🏻

  4. Arohi-jd commented on Nov 12, 2025

    @Arohi-jd

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

  5. added a commit that references this issue on Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions