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

Thanks to the American Society of Clinical Oncology (ASCO) for the opportunity to share Google’s work applying AI to advance cance...

Thanks to the American Society of Clinical Oncology (ASCO) for the opportunity to share Google ’s work applying AI to advance cancer research, treatment, care, and cures. This talk was personal for me; I offered my perspective both as someone privileged to work with amazing scientists driving solutions and as a cancer survivor. AI is accelerating scientific breakthroughs, supporting better clinical delivery and outcomes, and strengthening cybersecurity in an era of rising healthcare data breaches. From tools that aid early detection and treatment decisions, to agentic AI that helps clinicians stay current with the latest guidelines, we are already seeing powerful examples of what AI is making possible in healthcare. As Dr. Clifford Hudis , CEO of ASCO, my oncologist and friend once said to me: “AI is a critical part of democratizing healthcare – so that everyone, everywhere can have access to the best insights” that are invaluable to achieving the best outcomes. AI will not cure canc...