You'll soon be able to show off your coding skills in Google Docs

Google Workspace
(Image credit: Google)

Google has announced a new feature to make it easier for developers to collaborate and share code in its word processor software.

Initially announced in the company’s roadmap, the company explained that users can now paste code into a Google Docs document and then manually apply styles by highlighting syntax, indentations, new lines, and spaces. 

While it has long been possible to do this, it hasn’t exactly drawn programmers to Google Workspace, but as more businesses use the platform to manage their productivity tools, the company has now announced an even easier formatting option.

Coding in Google Docs

Users can now follow the Insert > Building blocks > Code block menu to automatically format highlighted text, or use the ‘@’ shortcut to find a code block. 

It’s also set to work with markdown, where users will be able to open up the formatting by typing ``` followed by enter. Other markdowns include a combination of asterisks and underscores for italic and bold, for example.

Google Docs code sharing

(Image credit: Google Workspace)

Google says that it works with industry standards to help make coding more readable, giving a handy boost to collaboration where other office apps fail. A screenshot on the company’s website shows the availability of C, C++, Java, JavaScript, Python, and a final Unset option.

Rollout to rapid release domains has already started, and scheduled release domains are set to get the update in early January 2023. As ever, a period of 15 days may apply before you get to see the update, and that’s if you have an eligible account.

It’s available to Google Workspace Business Standard/Plus, Enterprise Standard/Plus, Education Standard/Plus, and Nonprofit account holders, which means that many Essentials-branded Workspace accounts and personal accounts will have to make do with manual formatting, for now at least, which is bad news for hobbyists and programmers flying solo who don’t want to pay for an unnecessarily high Workspace subscription.

Craig Hale

With several years’ experience freelancing in tech and automotive circles, Craig’s specific interests lie in technology that is designed to better our lives, including AI and ML, productivity aids, and smart fitness. He is also passionate about cars and the decarbonisation of personal transportation. As an avid bargain-hunter, you can be sure that any deal Craig finds is top value!

Read more
Gemini Code Assist
Google Gemini's new Code Assist tool might finally be the help I need to get coding
A laptop screen showing a ChatGPT coding panel
The ChatGPT Mac app just got a massive coding upgrade – and it’s coming to Windows soon
Close-up of Asus Chromebook CM14 ports on left side
Are you an educator or student? Google's new features for Chromebooks and more will make your life way easier
Google Sheets
Google Sheets is getting faster and more effective, and I can't wait to ditch Excel for good
Gemini Code Assist
What is Gemini Code Assist? Everything we know about the AI coding tool
Google Meet on phone
Google Meet is finally giving you the tools to create better AI-generated video backgrounds
Latest in Software & Services
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
A person at a desktop computer working on spreadsheet tables.
Trello vs Jira: which project management solution is best for you?
Autonomous finance
Quickbooks vs Quicken: what are the main strengths and weaknesses for your business
finance
Quickbooks vs Xero: which is the best for your business?
Group of people meeting
Zoom vs Google Meet: which is the best video conferencing tool for your business?
Fingers typing on a computer keyboard.
Microsoft 365 Personal vs Microsoft 365 Family: are there any real differences?
Latest in News
Hornet swings their weapon in mid air
Hollow Knight: Silksong could potentially launch this year and I reckon it could be a great game for an Xbox handheld
Apple iPhone 16 Pro Max Review
Siri's chances to beat ChatGPT just got a whole lot better
Acer Chromebook Plus line
Chromebooks aren't dead! Acer has just launched 7 new ChromeOS laptops aimed at students and professionals
Apple Watch foldable display patent
Forget the folding iPhone – Apple has patented a foldable Apple Watch with two screens
Matt Murdock looking angry in Daredevil: Born Again season 1 episode 2
Daredevil: Born Again season 2 first look images have already spoiled how the Marvel TV show's first season will end on Disney+
Quordle on a smartphone held in a hand
Quordle hints and answers for Friday, March 21 (game #1152)