Closed thoraxe closed 5 years ago
Digging into this I'm wondering if we lost the original intent of "copypaste
".
Originally "copypaste
" on a code block was for a warning that the command being copy/pasted would have to be modified. In other words, it tells the user "don't just blindly copy/paste this".
But now it appears that might be being used generically for all code blocks where we intend someone to actually copy/paste what's written in the block.
It appears there's now some javascript that will automatically highlight all the test in a copypaste block when clicked.
Does this mean that we now need a "new" style to apply to a copypaste block where the command needs to be modified? (eg: copypaste-warning)
As an example: http://testdrive-master-labguides.6923.rh-us-east-1.openshiftapps.com/workshop/ocp-admin-testdrive/lab/environment
Looks like we need:
This works in docker.io/osevg/workshopper/0.2