Using Suggester for uncreated links/notes? #255
Unanswered
SteveDockar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Brief backstory: I often include the names of people in notes using [[First Last]]. I don't usually create the actual person/linked note but can still see the "person" in the Graph View with the "Existing files only" filter disabled. For people I deal with often, I like to modify the link to [[First Last|First]] so the note looks a little more personal and less formal, but if I do create them, the note file will be their full name for clarlity. When I do create a person file, I add "First" as an alias so this is more automated.
I created a QuickAdd to capture "First Last" using inputPrompt and then use Javascript string wrangling to return "[[First Last|First]]", but would like to enhance it to allow me to pick from existing uncreated (people)notes like typing
[[<some-text
in the note editor does. I managed to get the examplesuggester
API to show existing note/files in the vault, but couldn't figure out how to access Obsidian's resolved and unresolved links (or anywhere else I can get suggestions from). I had a cursory look at the Obsidian API docs, but that's way deeper than my current level of knowledge.Is something like this possible, and if so have I just failed to spot the helpful example or is there (much) more to it than that?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions