Skip to main content

Google Docs code blocks now available in additional programming languages

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 
additional Docs code blocks programming languages


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 

Availability 

Available for Google Workspace: 
  • Business Standard and Plus 
  • Enterprise Starter, Standard and Plus 
  • Enterprise Essentials Plus 
  • Education Standard and Plus 

Resources 



source http://workspaceupdates.googleblog.com/2025/04/additional-programming-languages-code-blocks-google-docs.html

Comments

Popular posts from this blog

Take our quiz to find out how well you know our #GoogleIO announcements about Search, Gemini, generative AI and beyond ↓

Take our quiz to find out how well you know our #GoogleIO announcements about Search, Gemini, generative AI and beyond ↓ source https://www.facebook.com/Google/posts/1260874655393966

Google Beam, our new AI video model, transforms standard video streams into immersive 3D experiences. Learn more about it → https:...

Google Beam, our new AI video model, transforms standard video streams into immersive 3D experiences. Learn more about it → https://goo.gle/435P6j3 #GoogleIO source https://www.linkedin.com/feed/update/urn:li:activity:7331456168386555904