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

Feature request: better handling of named anchor #112

Open
tsaost opened this issue Sep 21, 2022 · 0 comments
Open

Feature request: better handling of named anchor #112

tsaost opened this issue Sep 21, 2022 · 0 comments

Comments

@tsaost
Copy link

tsaost commented Sep 21, 2022

First of all, thank you for this great extension. I was going to write a simple extension that will capture URLs from links and embed them inside plain text before copying them to the clipboard, but your extension is way better.

The extension currently does not handle named anchors properly, it would be nice if you can add this in the future.

At the moment, instead of saving the named anchor as #anchor, it actually save the link as http://page_full_url#anchor, and the anchor itself is not saved.

It would also be nice to have an option to actually skip named anchors that matches a certain regexp. For example, if you try to capture postings from stackoverflow.com the extension currently generate many links such as https://stackoverflow.com/questions/6695439/how-to-link-to-a-named-anchor-in-multimarkdown# "This comment adds something useful to the post".

On a related issues, it would be nice if duplicate links can be consolidated into one single entry if one chooses to save them as footnote links.

@tsaost tsaost changed the title Better handling of name anchor Feature request: better handling of named anchor Sep 21, 2022
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

1 participant