Easy copy code blocks from Markdown #1095
lex111 posted onGitHub
For example, insert some icon inside the code block, when you click on it, all the content will be copied to the clipboard.
I don't think the above statement is true. It requires the reader to install a plugin/extension for their browser. The script tag is also not permitted for very good reasons for very similar motivations.
I think this is a reasonable request please reconsider.
@karlmutch having the feature in RGH also requires an extension. RGH's goal is not to implement every feature possible, especially when existing options cover the feature.
+1 for this idea it would be better if this was supported out of the box vs client-side configuration.
+! Github has already implemented some form of this internally in the Settings -> Actions -> Add self-hosted runner page:
<img width="723" alt="Screen Shot 2020-12-05 at 9 25 28 AM" src="https://user-images.githubusercontent.com/1409710/101259128-d7220200-36db-11eb-903c-2e8817111fb2.png">
It would be very helpful if github wiki (and issues) got this as a markdown extension behavior. I can only imagine the amount of human time and productivity improvement this simple feature would add. Possibly one of the lowest hanging fruits for Github in improving the world of software.
requires the reader to install a plugin/extension for their browser.
I hope that people landing on this issue understand that this repo is NOT owned by GitHub.
This repo is for an extension. If you want this behavior natively, send this suggestion to GitHub, not here.
Or just use the codecopy extension. It works and it's supported.
This is now supported natively by GitHub https://twitter.com/natfriedman/status/1391862005095485440?s=21