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

Add option to use fetched page title as title attribute #96

Open
xplosionmind opened this issue Dec 3, 2023 · 0 comments
Open

Add option to use fetched page title as title attribute #96

xplosionmind opened this issue Dec 3, 2023 · 0 comments

Comments

@xplosionmind
Copy link

According to the CommonMark specification, it is possible to add the title attribute to Markdown links.

Following this standard, it would be great if this plugin could fetch the title of the linked page and provide an option to inject it as the link title rather than the link text (or both).

If the user chooses to have the linked page’s title injected only within the title attribute and not as the text, two behaviors would be welcomed:

  • the cursor is automatically moved inside the square brackets, so that the link text can be typed straight away
  • if a text is already selected, and the link is “pasted into it”, then the selected text should not be overwritten, but rather become the effective text of the link.
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