syntax highlight your code and paste in Word
At http://planetb.ca/syntax-highlight-word you can find a nice syntax highlighter. It supports Python, HTML, Java, and several other languages. The rendered output can be copy-pasted to a Word document and it’ll look the same and remains editable in Word. Pretty cool.
It’s also useful if you want to make a screenshot of the syntax highlighted code. Here is an example:
Thanks to Peter F. for the link.