Skip to content

Instantly share code, notes, and snippets.

@maurogeorge
Created November 23, 2013 17:55
Show Gist options
  • Save maurogeorge/7617798 to your computer and use it in GitHub Desktop.
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
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