Last Updated: February 25, 2016
·
1.553K
· samd

Syntax Highlighting for Keynote

This creates some RTF text which has been formatted appropriately. It should work for other apps like pages, word and powerpoint.

pbpaste | highlight --syntax=objc -O rtf --style molokai | pbcopy

You need to install highlight first, which is part of homebrew:

brew install highlight