Created
June 7, 2012 05:10
-
-
Save jonathansick/2886714 to your computer and use it in GitHub Desktop.
Pygmentize to RTF and Copy
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
#!/bin/bash | |
# From http://emptysquare.net/blog/syntax-highlighting-with-pycharm-pygments-and-keynote/ | |
/usr/local/bin/pygmentize -f rtf -O "style=friendly,fontface=Courier Bold" "$1" | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Amazing! Linux users, take a look at pbcopy in Ubuntu.