Scite - the free scintilla texteditor - has the option to "Export as html" and "export as rtf", and it will be full of colour and fonts - and you can define them in properties, so it will be the same as during editing. simply great and cross plattform