News

To use Code Blocks, write or paste your code in the document. Once you have the code in place, select the complete section of code and then: Select the language from the Language dropdown.
Google is adding code blocks that automatically format and apply syntax highlighting to code written in Google Docs, though it seems like not everyone will be getting the feature.