Skip to content

Instantly share code, notes, and snippets.

@twhite96
Last active May 24, 2024 03:12
Show Gist options
  • Save twhite96/4f5457c10891c5fab3a4da23faf09346 to your computer and use it in GitHub Desktop.
Save twhite96/4f5457c10891c5fab3a4da23faf09346 to your computer and use it in GitHub Desktop.
capture clipboard

Use case for this

I am trying to stop the headache of copying an affiliate link to the clipboard as a markdown formatted link, with some text appended to it in espanso.

I've spent wayyyyy too much time fiddling with this, trying to understand what pyperclip actually does because the logic of how it works is illogical when you consider what copy and paste actually mean/do.

Fortunately, I think I can accomplish this with Raycast or Arc Browser's Copy Markdown Link. Or a plethora of browser extensions.

Still, was a fun exercise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment