How to format code in Google docs

How to format code in Google docs

three steps:

  1. Insert Table (1?1) in the google docs, then fill the cell with the color as some as your editor?s background color

Image for postSchematic for the step 1

2. Copy your code into the cell from editor with style

Image for postSchematic for the step 2

3. Change the font of the code to a monospaced font

Image for post

Enjoy your life!

15

No Responses

Write a response