Nice. I've made a similar script that formats text with links when pasting them. It removes the "https://www." from links if I'm just pasting a link and removes markdown link syntax from larger text blocks which I often don't want.
Mostly want to share that it was nice setting up the script to run with Raycast because it lets you create scripts that you can then activate with a keyboard shortcut or through their "spotlight" like view. And Cursor can create scripts like this pretty easily. I use other scripts to do things like, creating calendar events from content on my clipboard and searching the most recent copied thing in the browser. I have a bit more about this here and GitHub here.
Nice. I've made a similar script that formats text with links when pasting them. It removes the "https://www." from links if I'm just pasting a link and removes markdown link syntax from larger text blocks which I often don't want.
Mostly want to share that it was nice setting up the script to run with Raycast because it lets you create scripts that you can then activate with a keyboard shortcut or through their "spotlight" like view. And Cursor can create scripts like this pretty easily. I use other scripts to do things like, creating calendar events from content on my clipboard and searching the most recent copied thing in the browser. I have a bit more about this here and GitHub here.