问题
Often, I want to email some code without attaching a file. Are there any gmail/google wave/gdocs plugins for code sharing?
Gmail would obviously be the most useful.
回答1:
You could use service like pastie or pastebin and then link it in your mail.
Alternatively you can also use ToHTML to generate HTML and then copy/paste it in your mail.
回答2:
I usually just set the font to something monospaced and hit paste....
There is a Code prettifier gadget for wave that might help.
回答3:
There is this. https://wave.google.com/wave/#restored:wave:googlewave.com!w%252By2RZbMagM
This might be the same one gnarf posted.
回答4:
Check out code.google.com. That might be a good solution for you. Also, Google recently bought EtherPad, so there might hopefully be a good solution soon.
回答5:
You can attach a link and use pastebin
来源:https://stackoverflow.com/questions/2684200/is-there-a-way-of-pasting-code-snippets-blocks-in-gmail-wave-gdocs