News

Google Docs code blocks are now available in additional programming languages

News | 14.04.2025

In 2022, Google introduced a smart canvas feature that enables you to format and display code in Google Docs with code blocks.

Google is adding support for additional code languages to give even more users the ability to easily visualise code, making more code readable and collaboration much easier. Starting today, users can now format code blocks in the following additional programming languages:

additional Google Docs code blocks programming languages
  • C#
  • Go
  • Kotlin
  • PHP
  • Rust
  • TypeScript
  • HTML
  • CSS
  • XML
  • JSON
  • Protobuf
  • Textproto
  • SQL
  • Bash/Shell

To format and display code in a Doc, select Insert > Building blocks > Code blocks > choose your programming language or search @ > Code blocks > choose your programming language.

Rollout pace: gradual rollout. Available for Google Workspace:

  • Business Standard and Plus
  • Enterprise Starter, Standard and Plus
  • Enterprise Essentials Plus
  • Education Standard and Plus

For more information about Google Workspace, please contact us. Softprom is an official Google Workspace Premier Partner.