• Skip to main content
  • Skip to primary sidebar
  • Deals
  • Features
  • Guides
  • Chromebooks
  • Videos
  • Podcast
  • More +
    • Reviews
    • Unboxing
    • Upcoming Devices
    • Chromebook Plus
    • Chrome
    • ChromeOS
    • Chrome OS Flex
  • Search
  • Sign Up
  • Log In
Chrome Unboxed – The Latest Chrome OS News

Chrome Unboxed - The Latest Chrome OS News

A Space for All Things Chrome, Google, and More!

  • Deals
  • Features
  • Guides
  • Chromebooks
  • Videos
  • Podcast
  • More +
    • Reviews
    • Unboxing
    • Upcoming Devices
    • Chromebook Plus
    • Chrome
    • ChromeOS
    • Chrome OS Flex
  • Search
  • Sign Up
  • Log In

You can now write and format programming code properly in Google Docs

December 15, 2022 By Johanna Romero View Comments

Smart Canvas Google Docs

In the current version of Google Docs, contributors who want to present code have to manually highlight and then apply a font or paragraph style after pasting the code into the page. This has been a challenge and a shortcoming of Google Docs, as it was challenging to illustrate that certain text was meant to be programming code.

This is now about to change as Google is introducing a brand new Smart Canvas feature that will make this process far simpler. “Building Blocks” were introduced to Google Workspace as a Smart Canvas feature that provides formatting templates, such as meeting notes, email drafts, etc. Now, there will be a new Building Block type available specific to programming code, which gives you the ability to visualize code with industry standards, making code readable and collaboration much easier. 

Xremove ads

You will also have the option to choose the programming language you want your code to be formatted in, such as C/C++, Java, Javascript, Python, and Unset. To format and display code in a Doc, select Insert > Building blocks > Code blocks, then choose your programming language.

This is not an attempt to turn Google Docs into an IDE (Integrated Development Environment) to write and compile code, but simply an attempt to improve the formatting of code within a document to differentiate it from standard text. This feature has already begun to roll out to Rapid Release domains with an extended rollout that will potentially take longer than two weeks. Scheduled Release domains will start to see this feature starting on January 3rd, 2023. Availability will be as follows:

Featured Videos

Xremove ads
  • Available to Google Workspace Business Standard, Business Plus, Enterprise Standard, Enterprise Plus, Education Standard, Education Plus customers and Nonprofits
  • Not available to Google Workspace Essentials, Business Starter, Enterprise Essentials, Education Fundamentals, the Teaching and Learning Upgrade, Frontline, as well as legacy G Suite Basic and Business customers
  • Not available to users with personal Google Accounts

Filed Under: Workspace Tagged With: code, google docs, google workspace

Primary Sidebar

Xremove ads

Deals

The best Chromebook deals today

By Robby Payne
December 15, 2025

Save $220 on the powerful, versatile Acer Chromebook Plus Spin 714

By Robby Payne
December 10, 2025

The Google Pixel 9a just hit its lowest price ever at $150 off

By Joseph Humphrey
December 8, 2025

At $349, this Lenovo Chromebook Plus is one of the best value laptops you can buy

By Joseph Humphrey
December 3, 2025

The elusive 8GB Lenovo Chromebook Duet 11 is finally back in stock and down to $279

By Robby Payne
December 2, 2025

More Deals

Xremove ads

Reviews

My review after 6 weeks with the Lenovo Chromebook Plus 14 [VIDEO]

By Robby Payne
August 11, 2025

One week with the best small Android tablet you can buy, and I’m sold

By Robby Payne
May 9, 2025

Best Chromebooks of 2024 [VIDEO]

By Robby Payne
November 28, 2024

Samsung Galaxy Chromebook Plus Review: Samsung is back! [VIDEO]

By Robby Payne
October 28, 2024

Lenovo Chromebook Duet 11″ Review [VIDEO]

By Robby Payne
October 19, 2024

More Reviews

Xremove ads

Guides

This Chromebook trackpad shortcut is definitely not new, but is blowing my mind

By Robby Payne
March 11, 2024

How to reduce broadcast delay on YouTube TV to stop live spoilers

By Robby Payne
December 8, 2023

Windows PC keyboard and Chromebook

How to use a Windows keyboard with a Chromebook

By Joseph Humphrey
December 8, 2023

How reset and revert your Chromebook to the previous version of Chrome OS

By Robby Payne
November 29, 2023

My Chromebook Plus features disappeared: here’s how I fixed it

By Robby Payne
November 24, 2023

More Guides

TWITTER · FACEBOOK · INSTAGRAM · YOUTUBE · EMAIL · ABOUT

Copyright © 2025 · Chrome Unboxed · Chrome is a registered trademark of Google Inc.
We are participants in various affiliate advertising programs designed to provide a means for us to earn fees by linking to affiliated sites.

PRIVACY POLICY