GitHub Copy Code Snippet

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

נכון ליום 23-07-2020. ראה הגרסה האחרונה.

יוצר
Mottie
דירוגים
0 0 0
גרסה
0.3.6
נוצר
13-01-2018
עודכן
23-07-2020
Size
3.09 קילו-בייט
רישיון
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