GitHub Copy Code Snippet

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

اعتبارا من 24-02-2022. شاهد أحدث إصدار.

المؤلف
Mottie
التقييمات
0 0 0
الإصدار
0.3.9
تم إنشاؤه
13-01-2018
تم تحديثه
24-02-2022
Size
3.12 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