/alfred-markdown

🖊 Markdown text expander

Primary LanguagePythonMIT LicenseMIT

Alfred Markdown 🖊

Markdown text expander

Installation

  1. Download the Alfred Workflow (Markdown.alfredworkflow).
  2. Double-click to import into Alfred (requires Powerpack).
  3. Customize workflow and set hotkeys.

Usage

I recommend setting up hotkeys to trigger this workflow on selected text.

Commands

  • url {text} - Set link for selected text.
  • img {text} - Set image link for selected text.
  • i {text} - Set selected text to italics.
  • b {text} - Set selected text to bold.
  • { {text} - Wrap selected text with { }.
  • [ {text} - Wrap selected text with [ ].
  • ( {text} - Wrap selected text with ( ).
  • ` {text} - Wrap selected text with ` `.
  • check {text} - Prepends - [x] before selected text.

Another option is to set up a separate hotkey to show Alfred with the currently selected text and place the cursor to the left; ready to type the commands above.

alfred hotkey

Demo

demo

More workflows

License

MIT License