

Today, I learned that this VS Code feature is actually a setting ( pyWithSyntaxHighlighting) that can be enabled and disabled in VS Code editor settings. (I’ve used the High Contrast theme for daily coding sessions as well for years.) To ensure code snippets in my slides have proper and accessible contrast, I typically enable VS Code’s High Contrast theme when I’m writing code for my presentations. That was a game changer! Shortly after learning that, I installed VS Code on my machine and used it solely for that purpose for quite a while (before I eventually made the complete switch from Sublime Text). I could include real code (text) snippets in my slides with syntax highlighting applied to them. Copy-pasting formatted code from VS CodeĪ few years ago I learned that copying code from VS Code to Keynote would preserve the formatting of the pasted code, i.e. This post is me dumping my thoughts into my own “ Pensieve”- this blog!-for my future self to reference, and for anyone else who might find these tips useful. Today, I know of two quick and easy ways to include “real” syntax highlighted code in Keynote. That soon became tiring and highly ineffective. If I wanted to make changes to the code, I’d have to rewrite it, take a screenshot again, and copy-paste it into Keynote once again. Seven years ago, I used to take screenshots of code snippets to include them in my presentations.

I really wish it did, and hope that Apple would at some point add this feature, especially considering how many developers and engineers use Keynote to create talk slides.

