Shortcut for Syntax Highlighting in Keynote The idea is based on a gist by @jimbojsb. You can use Pygments or Highlight. Install Pygments brew install python