Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
December 14, 2022 10:25 pm

Googles making code formatting a breeze in Docs




Google logo
Code blocks in Docs. | Illustration: The Verge



Google Docs is getting a new feature that will make it easier to show code in an easy-to-understand way. The company announced that it’s adding code blocks to its “smart canvas” system, which will automatically add the proper spacing and color-coding for a variety of programming languages, such as Python, C, and Javascript.


Before this, getting code to look nice in Google Docs required workarounds or add-ons, which weren’t necessarily the most convenient. While that wasn’t the end of the world, making sure code displays properly is important for documentation, and having different parts of the code display in different colors makes it much easier to read if there’s more than a single line or two.




GIF: Google
D...


Continue reading…




Original Link: https://www.theverge.com/2022/12/14/23509936/google-docs-code-blocks-smart-canvas

Share this article:    Share on Facebook
View Full Article

The Verge

The Verge is an ambitious multimedia effort founded in 2011

More About this Source Visit The Verge