Refined-github: Permit to copy the single line code block with a click

Created on 10 Sep 2019  路  3Comments  路  Source: sindresorhus/refined-github


Might be interesting to have a feature permitting to copy a code block via a click on a clipboard icon

Example URL:

image

enhancement under discussion

Most helpful comment

I am strictly speaking about inline code block, like on every github readme to configure our environment by copy/pasting the command for an example

Most of them are useful + that permits to directly copy a commit hash via a simple click as well... And not intrusive because it's only displaying the clippy octicon when hovering the code block..

All 3 comments

I'm afraid there was already an (closed) request for this request: https://github.com/sindresorhus/refined-github/issues/1095

Hopefully @fregante will reconsider, because I'm also 馃憤

As suggested, this is similar to #1095 but also worse in that there are dozens of code elements on any given page that definitely don't need such a button.

I am strictly speaking about inline code block, like on every github readme to configure our environment by copy/pasting the command for an example

Most of them are useful + that permits to directly copy a commit hash via a simple click as well... And not intrusive because it's only displaying the clippy octicon when hovering the code block..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MilesBHuff picture MilesBHuff  路  3Comments

hkdobrev picture hkdobrev  路  3Comments

sindresorhus picture sindresorhus  路  3Comments

supremebeing7 picture supremebeing7  路  3Comments

fregante picture fregante  路  3Comments