Install
Mottie / GitHub Copy Code Snippet

Published:

Version: 0.3.10+71dbfb7 updated

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

Groups:

Support: https://github.com/Mottie/GitHub-userscripts/issues

License: MIT

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

Rating: 0