Created
February 10, 2016 19:20
-
-
Save emattson/0a567cf32ebf6f934905 to your computer and use it in GitHub Desktop.
Terminal command to syntax highlight javascript text copied to clipboard (uses highlight)
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
pbpaste | highlight --syntax=js -O rtf -K 40 -k monokai -s seashell | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you don't have
highlight
installed first runbrew install highlight