Google Docs 
Technology

Google Docs rolls out code blocks for easier formatting

The new feature gives users the ability to visualise code with industry standards, making code readable and collaboration much easier.

IANS

SAN FRANCISCO: Tech giant Google has started to roll out a new smart canvas feature in Docs, that allows users to easily format and display code in Docs with code blocks.

Previously, when working in Google Docs, collaborators who wanted to present code had to paste it in the document and then manually apply styles by highlighting syntax, the tech giant said in a Workspace Updates blogpost on Wednesday.

The new feature gives users the ability to visualise code with industry standards, making code readable and collaboration much easier. This feature does not have admin control.

To format and display code in a Doc, go to Insert > Building blocks > Code blocks > choose the programming language or search @ > Code blocks > choose the programming language.

Meanwhile, last month, the tech giant had rolled out a new Material You toggle design to its Docs, Sheets and Slides.

It is designed like a pill, therefore the Material 3 (M3) switch is larger than the previous one.

Visit news.dtnext.in to explore our interactive epaper!

Download the DT Next app for more exciting features!

Click here for iOS

Click here for Android

Wait till after Pongal: Vijay’s TVK signals major political shift in TN

49th Chennai Book Fair to be held from January 8

8 elephants killed after being hit by Sairang-New Delhi Rajdhani Exp in Assam's Hojai dist: Official

Nursing crisis rooted in AIADMK era, says health minister; strike called off after talks

DMK claims 'G Ram G' scheme itself may be scrapped any time by citing 'some data'