Update

Google Docs code blocks now available in additional programming languages

Google Docs code blocks now available in additional programming languages
Monday, April 14, 2025

What’s changing
In 2022, we introduced a smart canvas feature that enables you to format and display code in Google Docs with code blocks.
We’re adding support for additional code languages to give even more users the ability to easily visualize code, making more code readable and collaboration much easier. Starting today, users can now format code blocks in the following additional programming languages:

  • C#
  • Go
  • Kotlin
  • PHP
  • Rust
  • TypeScript
  • HTML
  • CSS
  • XML
  • JSON
  • Protobuf
  • Textproto
  • SQL
  • Bash/Shell

Getting started
Admins: There is no admin control for this feature.
End users: 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. Visit the Help Center to learn more about inserting smart chips & building blocks in your Google Doc.

Rollout pace

  • Rapid Release domains: Gradual rollout (up to 15 days for feature visibility starting on April 14, 2025
  • Scheduled Release domains: Gradual rollout (up to 15 days for feature visibility) starting on April 23, 2025

Availability
Available for Google Workspace:

  • Business Standard and Plus
  • Enterprise Starter, Standard and Plus
  • Enterprise Essentials Plus
  • Education Standard and Plus
Version: April 14, 2025 Link
Receive Important Update Messages Stay tuned for upcoming Google Workspace updates

More from the Cloud Services section

Was the content helpful to you?

Advertisement Advertise here?
Udemy IT certification ad