Friday, October 1, 2010

Perhaps the best way to paste code in blogger

Github Gists.

Here's a simple example

Syntax highlighting for a gazillion langugaes, forkable, editable, and revisions to boot. What's not to like compared to methods like these?

Honestly, I think any dev worth his salt should switch to this method or it's equivalent.


Kashyap said...

nice. though, it looks like an external dependency on

if you wanted a not-so-fancy way of doing it... try opening your file in vim, and using the :TOhtml command.

RPG said...

That's a nice trick.