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

Add copy to clipboard buttons to examples in reference pages #415

Merged
merged 1 commit into from Feb 20, 2018

Conversation

RLesur
Copy link
Contributor

@RLesur RLesur commented Oct 3, 2017

Hi,

This PR introduces a feature: "copy to clipboard" buttons are inserted in <pre class="examples"></pre> elements in reference pages.

A demo can be found here:
https://rlesur.github.io/klippy/reference/klippy.html#examples

The copy button appears when the examples are hovered.

Romain

@hadley hadley merged commit 3eb2cfe into r-lib:master Feb 20, 2018
1 check passed
@hadley
Copy link
Member

@hadley hadley commented Feb 20, 2018

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants