GitHub Copy Code Snippet

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

Versão de: 24/10/2022. Veja: a última versão.

Autor
Mottie
Avaliações
0 0 0
Versão
0.3.10
Criado
13/01/2018
Atualizado
24/10/2022
Tamanho
3,12 KB
Licença
MIT
Aplicável 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