GitHub Copy Code Snippet

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

Auteur
Mottie
Nombre d'installations quotidiennes
0
Nombre d'installations
258
Évaluations
4 0 0
Version
0.3.10
Créer
2018-01-13
Mis à jour
2024-02-17
Taille
3,12 ko
Licence
MIT
S'applique à

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