1.0.2 • Published 2 years ago

alfred-hl v1.0.2

Weekly downloads
8
License
MIT
Repository
github
Last release
2 years ago

alfred-hl

dependencies Status

Alfred 3 workflow to syntax highlight code in the clipboard using highlight.js

plain textcolorized text

unicode support :tada:

Prerequisites

You need Node.js 4+ and Alfred 3 with the paid Powerpack upgrade.

Usage

Copy code snippet to clipboard

  • cmd + C

Set Theme (Optional)

Default theme: github

  • Type hl-theme, Space, find the theme you want
  • Set the theme as default by pressing Enter

Highlight code

  • 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

Install

$ npm i -g alfred-hl

Reference

License

MIT © Jaewe Heo