Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy link URL and text as Markdown hyperlink #4133

Open
jbriales opened this issue Oct 1, 2022 · 1 comment
Open

Copy link URL and text as Markdown hyperlink #4133

jbriales opened this issue Oct 1, 2022 · 1 comment

Comments

@jbriales
Copy link

jbriales commented Oct 1, 2022

Currently there exist features for copying a link URL (LinkHints.activateModeToCopyLinkUrl) OR text (LinkHints.activateMode action=copy-text), but AFAIK no alternative to copy both URL and text in a common format as e.g. a Markdown link (i.e. an output like [Link text Here](https://link-url-here.org)).

Would this feature be doable and welcome? Any thoughts or concerns before implementing it?

@gdh1995
Copy link
Contributor

gdh1995 commented Oct 9, 2022

You may try my customized version of Vimium, named Vimium C (https://github.com/gdh1995/vimium-c), and it support a parameter of format:

map xxx LinkHints.activateCopyLinkText access="[${innerText}](${href})"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants