views:

172

answers:

1

Is there a way to preserve indenting in instant messengers when you are pasting source code to a co-worker?

In particular I'm trying to write some python code via google talk, but all tabs are removed.

+2  A: 

Paste the code into http://pastebin.com and get a short link to use in an IM or IRC conversation. (Disclosure: I run that site, "other pastebins are available!" :)

Paul Dixon
Is there a private option?
Brian R. Bondy
sort of, just make up a domain like http://brianbondy.pastebin.com
Paul Dixon