Make a markdown click with link from clipboard

Because cmd+k doesn’t work in every app, I have altered the extension hyperlink into the following version, in oder to convert the selected text into an md link using a link from clipboard.

So test becomes [test](link)

// #popclip
// name: MD link
// icon: iconify:mdi:link-variant-plus
// after: paste-result
// language: javascript
return `[${popclip.input.text}](${pasteboard.text})`
2 Likes

Lovely job, thanks for sharing