If you want more advanced features for adding code blocks to your Google Slides presentation, you can use an add-on. Here's an example using the "Code Pretty" add-on:
Select the code block character from the search results. You can choose from various code block styles, such as:
There are a few ways to add code blocks to Google Slides:
: When you copy code from these editors, the syntax highlighting is often preserved as RTF (Rich Text Format). Simply paste it into a Slides text box to keep your colors.
: Insert a shape (like a rounded rectangle), set its fill to a dark grey or black, and place it behind your text to create a "container" effect.
1. Using Google Slides Add-ons (Best for Professional Slides)
This website uses cookies and other tracking technologies to offer you a better experience, personalize content and ads, and analyze our site traffic. Before proceeding, you agree to our Terms and that you’ve read our Privacy Policy. Update Settings