You know, I've always loved those tiny editor-like widgets in blogs/sites when you are looking for some code inspiration on the web.
I've realized that we had to bring this funny stuff is want to have a fancy tech Blog, so I was doing some homework...
def some_cool_python_function(cool_arg): '''Very relevant docstring ''' for element in cool_arg: something = important_stuff(element) + 2 return something
Now, how it's done. After little research I've found Alex Gorbatchev's SyntaxHighlighter. It's very straight forward to install and very easy to use. You can find it here.
Read more »