GitHub Copy Code Snippet

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

Ajankohdalta 9.4.2018. Katso uusin versio.

Tekijä
Mottie
Arvostelut
0 0 0
Versio
0.2.3
Luotu
13.1.2018
Päivitetty
9.4.2018
Size
3,09 kt
Lisenssi
MIT
Käytössä

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