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

Suggest link based on note content (not just note title) #28

Open
imed-ghomari opened this issue Feb 24, 2022 · 2 comments
Open

Suggest link based on note content (not just note title) #28

imed-ghomari opened this issue Feb 24, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@imed-ghomari
Copy link

I don't know if it's in the scope of the plugin, but suggesting links based on words that are found in headings and/or paragraphs would be awesome :

  1. suggest links based on heading and convert them to [[link#heading]]
  2. suggest links based on paragraphs and convert them to [[link#^paragraph]]
@HEmile
Copy link

HEmile commented Feb 24, 2022

I like the suggestion for headings. Maybe less so for paragraphs... Filtering when and when not to suggest links based in paragraphs throughout your vault sounds extremely expensive, and getting you many useless false positives.

@imed-ghomari
Copy link
Author

imed-ghomari commented Feb 24, 2022

Filtering when and when not to suggest links based in paragraphs throughout your vault sounds extremely expensive, and getting you many useless false positives.

You're right, it would. But nonetheless, I think it should be added as an option in the settings.
In the list of suggestions, the 3 types of links could be distinguished with icons (like it's done in various complements) and sorted based on importance :

  1. Links to note titles
  2. Links to headings
  3. Links to paragraphs

@hadynz hadynz added the enhancement New feature or request label Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants