Support » Fixing WordPress » Widget on block of code to copy the code to your clipboard

  • boudiccas

    (@boudiccas)


    On my site – http://www.sharons.org.uk – I have several postings with large blocks of code. How can I get it so that You just click on the top-right of the block of code and its copied to your clipboard so you can paste it and use it in your site, please? I don’t know if it can be done with a plugin or whether its some form of code to be pasted into the css, or whatever? All my searches for a plugin have been unsuccessful, unfortunately.

    Thanks
    Sharon.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Borko

    (@media-x)

    You might try using SyntaxHighlighter Evolved plugin

    boudiccas

    (@boudiccas)

    I’m already using ‘Syntax Highlighter for WordPress’ which is very good, but I’m after something that you click and it copies the code to the clipboard, like you see on github sites in the top right of their codebox.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget on block of code to copy the code to your clipboard’ is closed to new replies.