This AppleScript snippet is probably useful to no one except me, but if it saves even one other Mac-based Markdown-using linkblogger a few seconds, why not?
tell application "Safari" set myTitle to name of document 1 as string set myURL to URL of document 1 as string set mdstring to "[" & myTitle & "]" & "(" & myURL & ")" set myResponse to (display dialog "Selectable Markdown Link Text" default answer mdstring) if myResponse's button returned is "OK" then set the clipboard to myResponse's text returned end tell
Stop! Whoever crosseth the bridge of Death, must answer first
these questions three, ere the other side he see!
“What is your name?”
“Sir Brian of Bell.”
“What is your quest?”
“I seek the Holy Grail.”
“What are four lowercase letters that are not legal flag arguments
to the Berkeley UNIX version of `ls’?”
“I, er…. AIIIEEEEEE!”