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 a "Copy" button to example commands (see kubernetesbyexample.com) #83

Open
ryanj opened this issue Oct 3, 2020 · 1 comment
Open

Comments

@ryanj
Copy link
Owner

ryanj commented Oct 3, 2020

See kubernetesbyexample.com for an example of how these copy buttons might look.

Minor changes:

  • no onclick event for <pre> or <code> elements, only attach events to the button element
  • no need for adaptive CSS layout: Button should always appear in the top right corner of the example text
@ryanj
Copy link
Owner Author

ryanj commented Nov 7, 2022

example available in this repo: https://github.com/openshift-evangelists/kbe

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

No branches or pull requests

1 participant