IT Cooking

IT Stuff and Silly Shell

Spread the love



Adding the ability to Copy Text Code Blocks Without Flash, with a click from a Copy Text Button inside a Syntax highlighted Code Block, that’s real magic. Bonus: the copied code includes Rich Text Format (RTF syntax). This solution relies on Clibboard.JS, and is the easiest one to add to your site. I could make it work under two hours, so I hope this tutorial will help you make it in less!

This text will be copied onto the clipboard when you click the button below. Try it!

(Read more…)

Spread the love
Posted In: jQuery, WordPress, CSS Tags: , , ,