I recently discovered Copy as Markdown Link (by @ComplexPoint). It populates the System Clipboard with Markdown Links from many different apps, including the Finder (to files).
This automated method of generating Markdown Links is a huge time-saver particularly useful when using text editors.
I created Create Rich Link from Markdown Link to leverage the power of Copy as Markdown Link. It is intended for macOS apps that support rich text (e.g., Notes, Pages, Word — indentified in the macro by checking the availability of Cmd+K). It converts a Markdown Link (in the Clipboard) and creates a “clickable” Rich Link in such rich text applications.
This macro reads the System Clipboard and, if a Markdown Link is detected, it creates a Rich Link by automating these steps:
- Paste the Text from the Markdown Link
- Press Cmd+K
- Paste the URL from the Markdown Link
- Press Return
Here's and example of how I use Copy as Markdown Link and Create Rich Link from Markdown Link together:
- In the Finder, select a file.
- Use the Hot Key Trigger to run Copy as Markdown Link.
- Open the Notes app and select a new or existing note.
- Use the Hot Key Trigger to run Create Rich Link from Markdown Link.
I’m sure that the Keyboard Maestro experts out there can suggest improvements (and, please do), but even as is, I find this macro very useful. Maybe some of you will also benefit.