GitHub Copy Code Snippet

A userscript adds a copy to clipboard button on hover of markdown code snippets

2022-02-24 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

लेखक
Mottie
रेटिंग
0 0 0
आवृत्ती
0.3.9
बनवली
2018-01-13
अपडेट केली
2022-02-24
आकार
3.12 KB
License
MIT
यांवर लागू होते:

A userscript adds a copy to clipboard button on hover of markdown code snippets

  • A button is added each pre formatted code block in markdown pages.
  • Clicking the button will copy the contents of the code block to the clipboard.
  • Buttons are not added to subdomains of GitHub, e.g. help.github.com, because the clipboard script is not loaded on those pages by default.

Hosted with ♥ at GitHub