hansifer / tab-copy

A browser extension for copying tabs to the clipboard in a variety of formats.
http://tabcopy.com
Other
57 stars 16 forks source link

Customize plain-text separate from html #7

Closed mfulton26 closed 1 month ago

mfulton26 commented 3 years ago

I love the "Link" format… well, except for when I'm pasting to somewhere that doesn't support rich text. Is there a way to make "Link" fallback to "Markdown" for plain text?

e.g.

instead of

public.html:<meta charset='utf-8'><a href="https://www.google.com/">Google</a>
public.utf8-plain-text:Google

I want

public.html:<meta charset='utf-8'><a href="https://www.google.com/">Google</a>
public.utf8-plain-text:[Google](https://www.google.com/)

that when we I paste into apps like Notion, GitHub, etc. that support Markdown it will get linkified, etc.

thanks!

hansifer commented 1 month ago

FWIW, this is now possible in v4. The Link format has an option to select the plaintext fallback (URL by default as of v4).