Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support copy to clipboard on code blocks #2338

Closed
TannerYoung opened this issue Dec 4, 2019 · 2 comments
Closed

Support copy to clipboard on code blocks #2338

TannerYoung opened this issue Dec 4, 2019 · 2 comments

Comments

@TannerYoung
Copy link

I searched the issues but was surprised I didn't find one that matched this. Perhaps my search terms were wrong and if so I apologies. Thank you for the wonderful theme :)

Summary

Support a copy-to-clipboard button on code blocks.

Motivation

Improves user experience when interacting with documentation that has bash commands or code which is intended to be copied by the user.

Drawbacks

Potential bloat, as it appears it will need a jquery style solution:

https://stackoverflow.com/questions/48078199/jekyll-code-snippet-copy-to-clipboard-button

@stale
Copy link

stale bot commented Jan 3, 2020

This issue has been automatically marked as stale because it has not had recent activity.

If this is a bug and you can still reproduce this error on the master branch, please reply with any additional information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions.

@stale stale bot added the Status: Stale label Jan 3, 2020
@stale stale bot closed this as completed Jan 10, 2020
@dieghernan
Copy link

See #2795

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

No branches or pull requests

2 participants