Saturday, June 20, 2009

How to easily copy code snippets from the formatted code display

When the code snippets are formated like this:

# code example
print 'Hello World!"

You can easily copy the text by clicking on the button in the upper right of the code block that is looks like <>. A popup will present the code without HTML or any other extra information. You can copy this to a clip board and paste the code into your favorite ide.

No comments:

Post a Comment