views:

40

answers:

1

I want to keep the snippets of code in My Google Document but when i paste the code it looks weird . Is there any way to format the code like we have in stackoverflow

where the code is in colors

A: 

paste it into a .doc/docx will have the same indents and colours

Euclid
I tried pasting code from stackoverflow to .docx , formatting is there but color is not there
Mirage