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

TVK expands media wing, appoints spokespersons

Anti-NEET hunger strike led by Anitha's brother continues; Centre urged to scrap exam

Trisha fans' posters create political buzz in Madurai

Bill to increase Supreme Court judges passed by LS without debate; House adjourned for day

Ghana parliament backs tough cocoa farm protections, with up to 20 years in prison