Hey, guys.
I implemented a alfred workflow.
You can do syntax highlighting code in clipboard using alfred-hl.
Usage
1. Copy code snippet to clipboard (Cmd + C)
2. Highlight code
- Type hl, space, find the language you want
- Enter
- Cmd + V to the rich text editor like Pages, Keynote
Dependency
- NodeJS 4+
- Install: brew install node
Please read this document for detail and download