GitHub Copy Code Snippet

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

Tác giả
Mottie
Cài đặt hàng ngày
0
Số lần cài đặt
258
Đánh giá
4 0 0
Phiên bản
0.3.10
Đã tạo
13-01-2018
Đã cập nhật
17-02-2024
Size
3 KB
Giấy phép
MIT
Áp dụng cho

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