Exporting code to text format with syntax highlighting

Hello,

I am trying to export code from SuperCollider to Microsoft Word while preserving the syntax highlighting.

I used to be able to easily do this when SC used .rtf, but I can’t figure how to do it at all now.

Any idea? I need to be able to change the font and size in the target program, but that’s about it.