Created
August 3, 2018 21:33
-
-
Save jaymcgavren/e723b19ed93646db0a25e8a8bc0b838c to your computer and use it in GitHub Desktop.
Convert the current clipboard contents to a fenced code block
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 | ruby -e 'puts "```"; puts ARGF.read; puts "```"' | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment