Skip to content

[FEATURE] Add Copy Badge Markdown Button to Live Demo #8201

Description

@aparna24bce11388

Is your feature request related to a problem? Please describe.

Currently, after generating a CommitPulse badge in the Live Demo, users have to manually select and copy the generated Markdown before adding it to their GitHub profile README.

This extra manual step is inconvenient, especially for first-time users, and can lead to accidental copy errors.

Describe the solution you'd like

I would like to add a dedicated "Copy Markdown" button next to the generated badge preview.

When clicked:

  • The generated Markdown should be copied directly to the clipboard.
  • A small success message (e.g., "Markdown copied successfully!") should be displayed.
  • The button should remain disabled until a badge has been generated.

This would provide a faster and more user-friendly workflow.

Describe alternatives you've considered

An alternative would be to keep manual text selection or automatically select the Markdown text when it is generated.

However, a dedicated Copy Markdown button provides a much cleaner, more intuitive, and consistent user experience while requiring minimal changes to the existing interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions