• 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

Support our independent tech coverage. Chrome Unboxed is written by real people, for real people—not search algorithms. Join Chrome Unboxed Plus for just $2 a month to get an ad-free experience, access to our private Discord, and more. Learn more about membership here.
START FREE TRIAL (MONTHLY)START FREE TRIAL (ANNUAL)

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

Massive Deal Alert: The Acer Chromebook Plus Spin 714 just hit an all-time low $499

By Robby Payne
April 1, 2026

The best Chromebook deals today

By Robby Payne
March 30, 2026

The Acer Chromebook Plus Spin 714 hits a new all-time low at $270 off

By Robby Payne
March 25, 2026

You can score $40 off Google’s battery-powered Nest Doorbell right now

By Joseph Humphrey
March 20, 2026

The touchscreen Lenovo Chromebook Slim 3 is a steal at under $200

By Robby Payne
March 16, 2026

More Deals

Xremove ads

Reviews

Acer Chromebook Plus Spin 514 Review: Kompanio Ultra power in a convertible

By Robby Payne
December 24, 2025

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

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 © 2026 · 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