Created
May 5, 2018 04:00
-
-
Save nathanalderson/8f069b0780f0fddc302119315d994a71 to your computer and use it in GitHub Desktop.
Tansform clipboard contents from markdown to HTML
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
#!/usr/bin/env bash | |
xclip -selection clipboard -o | pandoc --from markdown --to html | xclip -selection clipboard -target text/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Especially useful in combination with something like vim-anywhere.