GitHub Copy Code Snippet

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

Autore
Mottie
Installazioni giornaliere
0
Installazioni totali
258
Valutazione
4 0 0
Versione
0.3.10
Creato il
13/01/2018
Aggiornato il
17/02/2024
Dimensione
3,12 KB
Licenza
MIT
Applica a

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