copy-selection-as-markdown icon indicating copy to clipboard operation
copy-selection-as-markdown copied to clipboard

Do use the form <URL>

Open parabolapersuader opened this issue 3 years ago • 2 comments

Currently, the extension does not check for the text and the link. The result is

[$URL][]

[$URL]: $URL

instead of the simpler

<$URL>

parabolapersuader avatar Jul 31 '21 13:07 parabolapersuader

@parabolapersuader Thanks for opening an issue but I cannot figure out what your problem is. Can you please follow the issue template https://raw.githubusercontent.com/0x6b/copy-selection-as-markdown/master/.github/ISSUE_TEMPLATE.md.

0x6b avatar Sep 26 '21 12:09 0x6b

I guess I can help:

Markdown knows at least three kinds of links. Two of them are already available via the extension ([caption](http://...) and referenced [caption][1] [1]: http://).

But the third one is a short variant in cases where caption and URL are identical:

Short variant:
<https://eff.org>

Long variant:
[https://eff.org](https://eff.org)

You can see its reference here.

This also works for emails (<[email protected]>).

alexanderadam avatar Jan 21 '22 13:01 alexanderadam

Thanks, @alexanderadam, for the elaboration. Since the original poster hasn't returned, I'll go ahead and close this issue.

0x6b avatar Mar 17 '24 03:03 0x6b

OP's request still sounds reasonable though. :wink: But I find my link issue more important. :laughing:

alexanderadam avatar Mar 18 '24 15:03 alexanderadam