Skip to content

Instantly share code, notes, and snippets.

@keiththomps
Created February 21, 2013 14:42
Show Gist options
  • Save keiththomps/5005141 to your computer and use it in GitHub Desktop.
Save keiththomps/5005141 to your computer and use it in GitHub Desktop.
Getting syntax highlighted code into your keynote.
# -l for the lexer you want to use (pygments has a lot of lexers)
# -f rtf to make it usable in your keynote
pygmentize -l go -f rtf sample.go | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment