html - Syntax highlighting for emails
2014-07
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.
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
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
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.