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 code blocks #58

Open
fiveop opened this issue Jun 9, 2023 · 0 comments · May be fixed by carpentries/varnish#159 or carpentries/sandpaper#625
Open

Add copy-to-clipboard buttons to code blocks #58

fiveop opened this issue Jun 9, 2023 · 0 comments · May be fixed by carpentries/varnish#159 or carpentries/sandpaper#625
Labels
enhancement New feature or request {sandpaper} user interface package {varnish} HTML/CSS/JS templates

Comments

@fiveop
Copy link

fiveop commented Jun 9, 2023

Though we generally type all code while teaching, I would have find it useful recently, while preparing to teach a lesson, to be able to copy a code block easily. I can select the block and then copy and paste it. It would however be easier, if there was a button that would cause the block’s contents to be copied to the clipboard (Similar to the buttons in the Clone-Dialog of GitHub next to the repository’s URL).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request {sandpaper} user interface package {varnish} HTML/CSS/JS templates
Projects
None yet
2 participants