A syntax highlighter for code snippets
Listing updated:August 4, 2023
Works with:
19K+
Overview
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
Developer
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
Loading
Search
Clear search
Close search
Google apps
Main menu