Syntax-Highlight your code for Keynote
First install highlight
brew install highlight
Then just copy to clipboard code you are interested in, and execute
pbpaste | highlight --syntax=rb -O rtf | pbcopy
to save its syntax-highlighted version in clipboard, ready to be pasted into Keynote :)
Inspired by https://gist.github.com/jimbojsb/1630790
Written by Błażej Kosmowski
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#