Alfred 3 workflow to syntax highlight code in the clipboard using highlight.js
plain text | colorized text |
---|---|
unicode support 🎉
You need Node.js 4+ and Alfred 3 with the paid Powerpack upgrade.
- cmd + C
Default theme:
github
- Type
hl-theme
, Space, find the theme you want - Set the theme as default by pressing Enter
- Type
hl
, Space, find the language you want - Enter
- Enter + Cmd if you want to prevent indentation
- Cmd + V to the rich text editor like Pages, Keynote
$ npm i -g alfred-hl
MIT © Jaewe Heo