Created
July 15, 2013 10:04
-
-
Save sgerin/5998837 to your computer and use it in GitHub Desktop.
Markdown Link
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
import clipboard | |
text = raw_input("Input link text: ") | |
link = '[' | |
link = link + text | |
link = link + ']' | |
link = link + '(' | |
link = link + clipboard.get() | |
link = link + ')' | |
clipboard.set(link) | |
print "\n\n Markdown link set to clipboard" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment