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

Copy button for commands to be executed #1797

Closed
dgerd opened this issue Sep 17, 2019 · 1 comment
Closed

Copy button for commands to be executed #1797

dgerd opened this issue Sep 17, 2019 · 1 comment

Comments

@dgerd
Copy link

dgerd commented Sep 17, 2019

Describe the change you'd like to see
There are many places in the Knative documentation where a command should be executed. These commands are captured in a formatted code box. However, many of these commands scroll out the side of the frame depending on your browser window size making them hard to copy.

See https://knative.dev/docs/install/knative-with-gke/#installing-knative

It would be nice to have a "select all & copy to clipboard" button to allow me to one click grab the command to run rather than trying to select and highlight manually.

@RichieEscarez
Copy link
Contributor

Looks like this feature was recently added to the Docsy template. That means we will need to investigate upgrading from our early "beta" version of the docsy code to pick that up.

Marking this a duplicate of knative/website#57

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

3 participants