GitHub Copy Code Snippet

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

Fra og med 21.02.2021. Se den nyeste version.

Skaber
Mottie
Bedømmelser
0 0 0
Version
0.3.7
Oprettet
13.01.2018
Opdateret
21.02.2021
Size
3,15 kB
Licens
MIT
Gælder for

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