Skip to content

[Suggestion]: Add a "Copy" button to code blocks alongside download/fork actions #8724

Open

Description

Summary

Add a quick-copy button to code blocks where only download or fork actions are currently available, improving developer workflow.

Page

No response

Details

When reviewing certain code snippets or file viewers, users have access to download or fork options, but lack a direct "Copy" clipboard button. Developers frequently need to copy small snippets on the fly without downloading whole files or forking repositories. Adding a standard clipboard copy button with visual feedback (e.g., a "Copied !" tooltip) would streamline this interaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions