Created
November 23, 2013 17:55
-
-
Save maurogeorge/7617798 to your computer and use it in GitHub Desktop.
Command to highlight a file with pygments and copy as RTF to paste on a keynote for example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pygmentize -l ruby -f rtf -O style=default app/models/user.rb | pbcopy -Prefer rtf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.andrewhavens.com/posts/13/how-to-install-pygments-syntax-highlighter-using-homebrew/