Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

copy to clipboard in gihub readme

add 4 spaces infront of the text 
and github shows a copy button to copy that block

Ex: in a README.md :

    sudo apt update
    sudo apt install snapd

Now The above code has the copy button over it in Github
 
PREVIOUS NEXT
Tagged: #copy #clipboard #gihub #readme
ADD COMMENT
Topic
Name
8+8 =