A syntax highlighter for code snippets
Listing updated:August 4, 2023
Works with:
This add-on provides support for code segments and code spans.

Similarly to markdown code segments (aka code blocks) are delimited with triple back-ticks and code spans with single back-ticks.

Additionally, the add-on changes #-heading lines to their corresponding Google Docs™ headings.

When using the 'Colorize' menu item, the add-on finds all code segments and code spans, as well as the headings and handles them. It also updates existing code segments.

The 'Colorize Selection' menu syntax-highlights the current selection according to the chosen language. If no text is selected, does nothing.

The 'Change mode' menu changes the current code segment (where the cursor is) to the chosen language. If the cursor is not in a code segment, does nothing.
Additional information
PricingFree of charge
Privacy policy
Terms of service
Code Syntax will ask for the permissions shown below. Learn more
Code Syntax will need access to your Google account
This will allow Code Syntax to :
View and manage documents that this application has been installed in
View and manage the Google Slides presentations that this application is installed in
See your primary Google Account email address
See your personal info, including any personal info you've made publicly available
Sort by:
Google doesn't verify reviews or ratings. Learn more about reviews
Profile Picture
Baker Sharp
July 18, 2023
It does what is says on the tin, and it's open source! Also like that it asks for far fewer permissions than Code Blocks
Is this review helpful?
Profile Picture
Conny Gu
August 27, 2023
Very useful addon! Thanks for the work!
Is this review helpful?
Profile Picture
Yale Work
March 11, 2022
I'm liking this way better than Code Blocks. It parses your content by itself to do its formatting, rather than me having to select portions manually. And I can use tick marks like I'm used to. It's also superior to other formatters in that, if your code block is at the bottom of the doc, it puts a newline after it. (Without that, you can't put the cursor below the block. So you have to put it inside the block, in which case the block expands when you hit return.) Caveat: I've only been using it for a day.
Is this review helpful?
Profile Picture
Ryan Dietrich
April 16, 2022
I typed: ``` var foo = 'bar'; ``` I clicked the add-on, and clicked "colorize", and it promptly broke.
Is this review helpful?
1-4 of 4
Clear search
Close search
Google apps
Main menu