App Icon
Alex Forsythe
•  1,331,175
Overview
Syntax highlighting for Google Docs
Code Blocks makes it easy to put your code into Google Docs. Simply select some text, click the "Format" button, and it will be formatted with the color theme of your choice.

Features:
• One-click syntax highlighting
• Automatic language detection (or choose it yourself)
• Lots of color themes
• Format code inline or as blocks (1x1 tables)
• Preview changes before updating your document
• More to come...

Enjoy!

NOTE: Code Blocks does not provide real-time syntax highlighting or code formatting. To get these features, you will need to use a separate editor.
Reviews
Language:
Sort by:
Profile Picture
A User of Code Blocks
October 21, 2020
The tab key makes you go to end of document is the only issue, otherwise well made. The following autohotkey script fixes the issue for Windows users by intercepting the tab key, preserving your clipboard, putting tab into your clipboard, pressing control-v, then restoring your clipboard. The word "docs" has to be in the active window title, otherwise it wont intercept your tab key, so you should be able to leave this script running at all times. Install autohotkey, then put the below text into a text file and rename the file extension to .ahk and double click it. AutoTrim, Off SetTitleMatchMode, 2 #IfWinActive Docs *Tab:: temp = %clipboard% clipboard = %A_Tab% sleep 10 send ^v sleep 10 clipboard = %temp% return
Is this review helpful?
Yes
No
Profile Picture
A User of Code Blocks
October 21, 2020
thanks this was very helpful to write a code in docs
Is this review helpful?
Yes
No
Profile Picture
A User of Code Blocks
October 18, 2020
It's all right
Is this review helpful?
Yes
No
Profile Picture
Robby Barnes
October 17, 2020
Does a great job. It's not perfect, but it makes it much easier to add code blocks to Google Docs
Is this review helpful?
Yes
No
Profile Picture
A User of Code Blocks
October 16, 2020
Absolutely love it. Works well, and does exactly what it needs to do!
Is this review helpful?
Yes
No
Profile Picture
A User of Code Blocks
October 6, 2020
Why can't I indent python code? Need it pretty badly to be honest
Is this review helpful?
Yes
No
Profile Picture
A User of Code Blocks
October 5, 2020
This add-on always shows in disabled state. Tried to find the way to enable it but no luck, can you help me to enable this add on.
Is this review helpful?
Yes
No
Profile Picture
A User of Code Blocks
October 4, 2020
Love this addon, As often with browser darkmode enabled at night, If i paste some code to google docs it will be with dark background & when i check in morning without darkmode it looks quite odd. This addon solved this problem easily. Also has background color to identify code easily like in StackOverFlow
Is this review helpful?
Yes
No
Profile Picture
A User of Code Blocks
October 3, 2020
Clears all Python indentation :(
Is this review helpful?
Yes
No
Profile Picture
A User of Code Blocks
October 2, 2020
There's no syntax highlighting for C. Other than that, this is a great add-on. If there is highlighting for C, let me know and I will change my review. I can't find it.
Is this review helpful?
Yes
No
1-10 of 104
Additional information
Alex Forsythe
Support
Terms of Service
Search
Clear search
Close search
Google apps
Main menu