alfred-hl

1.0.2 • Public • Published


alfred-hl

dependencies Status

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

plain text colorized text

unicode support 🎉

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

/alfred-hl/

    Package Sidebar

    Install

    npm i alfred-hl

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    45.6 kB

    Total Files

    10

    Last publish

    Collaborators

    • importre