Skip to content

Instantly share code, notes, and snippets.

@amitkot
Created May 15, 2018 18:59
Show Gist options
  • Save amitkot/21829af3afea4eb4e82ba3351ce6d47a to your computer and use it in GitHub Desktop.
Save amitkot/21829af3afea4eb4e82ba3351ce6d47a to your computer and use it in GitHub Desktop.
Shell script for highlighting source python code
pbpaste | /usr/local/bin/pygmentize -f rtf -O "style=borland,fontface=Inconsolata,fontsize=60" -l python3 | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment