Last active
August 26, 2018 21:38
-
-
Save nickcernis/a3e16147ca8b77cf467f7bb7e68574e8 to your computer and use it in GitHub Desktop.
Mac shell script: wrap clipboard contents to 70 characters and prefix as markdown blockquote, preserving links and non-ASCII
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pbpaste | fmt -w 70 | sed -e 's/^/> /' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Useful in TextExpander or Keyboard Maestro: