html - Syntax highlighting for emails

07
2014-07
  • hugo der hungrige

    I'm once in a while sending raw code to customers. Is there a tool which adds (inline) styles to code, so that it is easier to read for my customers? A tool which works for gmail and other web-based (html) email clients would be great, but I would be also ok with a thunderbird extension.

  • Answers
  • hugo der hungrige

    Although I'm still open to better suggestions, I've found some solutions myself.

    • the thunderbird extension pasteCode
    • If you're using vim, you can use :TOhtml, which will generate a coloured html-version of your code

  • Related Question

    How to make syntax highlighting for source code in Outlook 2007 email?
  • metal gear solid

    Possible Duplicates:
    Syntax highlighting in Microsoft Office Word
    How do I easily highlight the syntax of PHP code in Word?

    When I send email to someone with source snippet then how to format source code like this type. with line number

    alt text


  • Related Answers
  • Hugh Allen

    Some text editors will let you copy syntax-colored text as HTML. Editplus is one, using the menu Edit -> Clipboard -> Copy as HTML. It doesn't do line numbers though.