Sometimes I need to paste codes in Lotus Notes for discussion. If the codes have syntax highlighting will be nice.
In NotePad++, there is a plugin called “NppExport” which can let you copy the code in the clipboard in RTF format.
In PuTTY, there is a option called “Paste to clipboard in RTF as well as plain text” in Windows -> Selection. Just check it!