Skip to content

Instantly share code, notes, and snippets.

@1000ch
Last active December 17, 2015 06:48
Show Gist options
  • Save 1000ch/5567556 to your computer and use it in GitHub Desktop.
Save 1000ch/5567556 to your computer and use it in GitHub Desktop.

Syntax Highlight with Highlight

Install highlight

Install highlight with homebrew.

brew install highlight

Select theme

See this and select a theme.

Copy code

Copy your source code to clipboard.

Execute command

pbpaste | highlight --syntax=js -s andes -O rtf | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment