Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Is there a easy way to insert source code with highlight in Google Docs?

share|improve this question
add comment

1 Answer

up vote 17 down vote accepted

Not directly but there is an easy way to do it.

You can use the online Colorer-take5 HTML generator to produce the highlighted code. Afterwards just copy/paste it into your document, but don't forget to change the font to Courier New and probably reducing the size of it and you're done.

Here is an example for Java code and using the Eclipse style: alt text

share|improve this answer
Great idea, but I would suggest pygments.org to generate colored HTML (with multiple styles) and Consolas as font. –  schlamar Dec 12 '12 at 21:33
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.