Skip to content
Sean Akahane-Bryen edited this page Aug 3, 2020 · 2 revisions

Mark GitHub Flavoured Markdown task as (not) done

ghfm-done.kmmacros
ghfm-undone.kmmacros

Marks a GitHub Flavoured Markdown task as done ([x]) or not done ([ ]). The cursor should be on the relevant line of text.

Steps in the Macro

  1. Simulate the keystroke ⇧⌘Left Arrow to select all text on the line to the left of the cursor.
  2. Simulate the keystroke ⇧⌘Right Arrow to select all text on the line to the right of the cursor.
  3. Simulate the keystroke ⌘C to copy the text.
  4. On the clipboard, find [ ] and replace with [x] or vice versa.
  5. Paste.
  6. Restore the old clipboard.

Changelog

Version Date Changes
1.00 2020-08-03 Initial commit
Clone this wiki locally