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: Allow specialized command to target the alias of markdown links. #79

Open
mariomui opened this issue Sep 27, 2023 · 0 comments

Comments

@mariomui
Copy link

As a user, I highlight markdown links frequently. I'd like the link to only highlight the text part.

Example

Before highlight: [text](https://google.com)
After highlight `text

Proposed Solution

We trim the link, regex search for the first instance of bracket enclosed text and replace the selection with the appropriate html wrapped text.

Challenges

Some folks might want to highlight the entire link along with the url for parsing reasons.
🔑 A separate command called Highlight Link Text Only might be useful as a differentiator.

Prospects

When highlighting links, the benefit of viewing a shorter title is kept while keeping the highlight effect (otherwise the entire 30+ character html link would be shown, a terrible ui experience)

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