GitHub Copy Code Snippet

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

目前为 2019-01-29 提交的版本。查看 最新版本

作者
Mottie
评分
0 0 0
版本
0.3.4
创建于
2018-01-13
更新于
2019-01-29
大小
3.1 KB
许可证
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