Skip to content

Instantly share code, notes, and snippets.

@calvinf
Created July 19, 2017 18:07
Show Gist options
  • Save calvinf/5c24805563dfb037bc2b21cd5bdf5bd6 to your computer and use it in GitHub Desktop.
Save calvinf/5c24805563dfb037bc2b21cd5bdf5bd6 to your computer and use it in GitHub Desktop.
Highlighting Code in Keynote

How to highlight code in Keynote slides

Install Highlight

On Mac, if you have Homebrew installed, run:

> brew install highlight

Add to your shell config or .aliases file:

alias hicp="pbpaste | highlight -O rtf --syntax=js --style solarized-dark --font Inconsolata --font-size 36 | pbcopy"

Resources

More info and examples here: https://gist.github.com/jimbojsb/1630790

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment