planetB

Syntax Highlight Code in Word Documents

Placed a form around Google’s SyntaxHighlighter javascript code. Made it easier to use.

To get some nice syntax highlighted code into a Word document, use IE and copy and paste some code into the form below and click the button. A new window will popup with the syntax highlighed code. Copy all and paste into your document. Unfortunately Firefox doesn’t copy and paste into Word like IE does, so you’re stuck with IE if you’re looking to copy the resulting formatted code into a Word doc.