Skip to content

Instantly share code, notes, and snippets.

@jduckles
Last active June 27, 2024 13:14
Show Gist options
  • Save jduckles/9afc950aa88c474c1c111ff50c0553e9 to your computer and use it in GitHub Desktop.
Save jduckles/9afc950aa88c474c1c111ff50c0553e9 to your computer and use it in GitHub Desktop.
Takes a URL and grabs the <title></title> contents to provide a Markdown Link using the title of the page. Used as a TextExpander Shortcut to paste links into Markdown Files with the page title as the link text.
#! /bin/bash
# Python Script to pull down title of web page and enter it into a markdown snippet.
~/bin/url2mdlink.py %clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment