Back to top

Howdy, Stranger!

If you would like to take part in interesting Google related discussions, sign in or register instantly with -

Connect with us

Post your questions and our community will find most optimum solution.

GracelynGracelyn Confirm Email, Member
edited March 2013 in Gmail
Need to send some code to client over gmail in a nice looking format. I want -

- proper indentation
- color for variables and functions
- distinctly visible comments
- different font than rest of the mail message


  • CollinsCollins Moderator Entry Level
    edited March 2013
    Gmail takes the formatting you paste in it. Therefor it become fairy simple. All you need is online text highlighting.

    Best site is - which lets you copy paste code in gmail, word doc and almost everywhere.

    Next one which is more user friendly and make beautiful code is

    Here is an example -

    highlight or format code in Gmail

    Please note that your friends/client gmail window can be small because of different screen resolutions or if he is viewing the mail in mobile. Therefore this strategy is good only for small screens. Better to link to code in pastebin.

  • AbhishekAbhishek Admin Administrator Big Time
    Also check out MarkDown Here Chrome Extension

    Very useful in you know Markdown. It supports code syntax highlighting and mathematical formulaes

    gmail rich formatting
Sign In or Register to comment.