Is there a way of pasting code snippets/blocks in gmail/wave/gdocs? [closed]

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-07 07:03:31

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!