Widget on block of code to copy the code to your clipboard (3 posts)

  1. boudiccas
    Posted 2 years ago #

    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.


  2. Borko
    Posted 2 years ago #

    You might try using SyntaxHighlighter Evolved plugin

  3. boudiccas
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic