Generate Markdown Links From Your Selected Text and Chrome's Current Url Using Alfred

I’ve been spending a lot of time trying to optimize the workflow around adding more posts to my digital garden and a couple of the biggest holdups were around adding links to pages I was looking at in Chrome. I figured I’d take a stab at optimizing the process based on my Alfred experience and everything I’ve been learning with zsh. I came up with a flow I’m pretty happy with:

  1. Hit a keyboard shortcut so Alfred can grab the selected text

  2. Push the selected text into a “Script” step that can grab the current URL from Chrome using osascript and combine them together

  3. Output using the “Copy to Clipboard” output template.

I’m really happy with the result. You can download it here: download md-link alfred workflow

And watch a video of how it was made here:

Get Automation Tips in Your Inbox

Sign-up to get Automation tips sent directly to your inbox to improve your daily computer life!

    No spam. Unsubscribe whenever.