Format your code in many beautiful themes and optionally include line numbers.
Works with:
51K+
Overview
Code Blocks for Google Docs is a new and improved version of Code Blocks and helps you format code to stand out from the rest of the text in your document. All languages are supported; including HTML, CSS, JavaScript, Python, Java, C++, Swift, TypeScript, Go Golang, GraphQL, SQL, Ruby, R Programming Language, PHP, Perl, Kotlin, C#, Rust, Scheme, Erlang, Scala, Elixir, Haskell, Ruby, Rust. Advanced features include formatting indentation using Prettier and inserting line numbers (including specifying the starting line number). Insert your favorite code into your Document now!
Additional information
PricingNot available
Developer
Trader status unspecified
Privacy policy
Terms of service
Code Blocks II will ask for the permissions shown below. Learn more
Code Blocks II will need access to your Google account
This will allow Code Blocks II to :
See, edit, create, and delete all your Google Docs documents
Display and run third-party web content in prompts and sidebars inside Google applications
Connect to an external service
See your primary Google Account email address
See your personal info, including any personal info you've made publicly available
Reviews
Language:
Sort by:
Google doesn't verify reviews or ratings. Learn more about reviews
Profile Picture
Joseph Bunda
March 10, 2024
It doesn't work at all. I added some code, highlighted it, clicked format and it just deleted the text. I couldn't get it to do anything.
Is this review helpful?
Yes
No
Profile Picture
Rick Bargerhuff
March 20, 2024
Premium is the only way to specify the language for the code block. Cannot format the code without upgrading to premium. This add-on is a total waste of time and should be flagged for removal by Google. Not useful and total scam.
Is this review helpful?
Yes
No
Profile Picture
Alessandro Corra'
April 23, 2024
completely useless, don't waste your time to try it...
Is this review helpful?
Yes
No
Profile Picture
Andrey Lappo
September 30, 2022
Mozilla Firefox 105.0.1 (64-bit): "Видео недоступно. Видео недоступно, потому что загрузивший его пользователь удалил свой аккаунт YouTube" и "Подтверждение не отправлено. Произошла ошибка. Повторите попытку". Кажется, дополнение мертво / this add-on seems to be dead.
Is this review helpful?
Yes
No
Profile Picture
Dj Apal
December 7, 2021
needs upgrading in order to work (??) correctly. sorry this is not useful
Is this review helpful?
Yes
No
Profile Picture
Rob Raisch
April 13, 2021
OK, I gave this a test run and discovered numerous problems. Does not remember chosen theme across invocations. No theme editor which limits you to existing themes, requiring you to go back and reformat things you don't like _by hand_ No choice of font. Imagine a code block that does not allow you to use Courier New for displaying code! Requires you to change font _by hand_. "Premium" features require $2.99/month (billed ANNUALLY!!) subscription and only provide the addition of line numbers and formatting/pretty-printing various flavors of code. These are not premium in any way but should be standard in all code blocks. No apparent way to cancel subscription to "premium" features. I have removed this from my addons. PLEASE REFUND MY PURCHASE. thanks.
Is this review helpful?
Yes
No
Profile Picture
Manwel Bugeja
May 5, 2022
core functionality requires payments
Is this review helpful?
Yes
No
Profile Picture
Tim Light
August 24, 2021
Doesn't work.
Is this review helpful?
Yes
No
Profile Picture
A User of Code Blocks II
June 21, 2020
This add-ons does nothing, only add some block and change the font into courier without any syntax highlighting at all. Give me a single good reason to use this over the other Code Block, add-ons are complete useless without subscribe (you read it right, SUBSCRIBE).
Is this review helpful?
Yes
No
Profile Picture
Simson Gnanam
November 8, 2020
I actually paid for it. Thinking they will provide things line line numbers. It simply does not work.It actually deletes the code and shows some sort of preview
Is this review helpful?
Yes
No
1-10 of 16
Search
Clear search
Close search
Google apps
Main menu