GitHub Copy Code Snippet

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

Per 10-05-2018. Zie de nieuwste versie.

Maker
Mottie
Beoordelingen
0 0 0
Versie
0.3.1
Gemaakt op
13-01-2018
Bijgewerkt op
10-05-2018
Grootte
3,09 KB
Licentie
MIT
Wordt toegepast op

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