Created
March 11, 2015 13:00
-
-
Save relaxnow/3cb61b198234be3ba419 to your computer and use it in GitHub Desktop.
How to add syntax highlighting to Pages and Keynote
This file contains hidden or 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
export LC_CTYPE=UTF-8; pbpaste | (echo '<?php ' && cat) | /usr/local/bin/pygmentize -l php -f rtf -O style=monokai,fontface=Monaco | sed 's/\\\\f0/\\\\f0\\\\fs72/g' | pbcopy -Prefer rtf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment