Wrap Text Plugin - Zettt/km-markdown-library GitHub Wiki

In the download is also a plugin included, which many macros use. It's called "Wrap Text". Install this folder in:

~/Library/Application Support/Keyboard Maestro/Keyboard Maestro Actions/

Relaunch the Editor and the Engine for changes to take effect.

This Wrap Text action is a generic Keyboard Maestro 6 Plugin that you can use to arbitrarily wrap text with characters of your choice.

This makes it painlessly easy to wrap text in, say, AppleScript comment style:

  • WrapStart: (*
  • Text: %CurrentClipboard%
  • WrapEnd: *)

Text is a token text field. You can use all your tokens and variables here.