Unlinked mentions in backlink suggestions for zettelkasten style names

Hi all. I am sticking to the zettelkasten style naming of my notes, like “202006051828 Topic X”. Now the problem is, when I mention “topic X” from another note, this note does not get an “unlinked” suggestion, because I have not mentioned those numbers. Is it possible for the app to actually recognize this situation and add this function? I know I can get rid of this numbering, but given that the app allows zettelkasten style naming i thought it would be nice to support it further. Thanks!

9 Likes

I’ll +1 this… I’m kind of sad that it doesn’t work.

It’d be nice if it recognized the mmd metadata too… so that:

123456789012-new-note-here.md

title: New Note Here

This is the body of the note

could be matched as an unlinked mention for “new note here”… even just that would be great.

1 Like

I guess what I’m asking is that for the regex that “unlinked mentions” searches I’d like to include in order of value…

  1. the title: <foobar> multimarkdown metadata.
  2. The filename
  3. The filename “de-slugified” (remove the 12 digit zettel ID, and replace “-” with spaces)
  4. The first h1 or # in the file.

Trouble is you’re asking for a different, less compatible, flavour

+1
my note name is like §20741 Bayesian inference and it doesn’t show up in the unlinked mentions

Are there any news on this?
Perhaps some other postings, which I didn’t find yet?

I am quite new to Obsidian. I now still might change my approach. But I thought a plugin should not break a major functionality like “unlinked mentions”.

Most people following Zettelkasten prepends an ID before the note title to make it globally unique; but seems like unlinked mentions only work with whole-word matches. I saw Fuzzy Searching for Unlinked Mentions, but I have another idea:

  1. allow user to specify some sort of “preprocessing” that can be applied to note titles
  2. run all notes title through that preprocessing step before finding unlinked mentions in the notes content

For example, all my notes are in the form of

<14 digits id><space><note title>

The “preprocessing” can be a regex like so

search regex: \d{14}\s(.*)
replace regex: $1

Meaning that these titles:

20200806023834 title 1
20200806030038 this is another title
20200806030201 lorem ipsum

will become

title 1
this is another title
lorem ipsum

after the preprocessing steps. Then the normal procedure for finding unlinked mentions can continue as normal.

(Here is the link to regexr that you can play with: https://regexr.com/5b2op)

Is this a good idea?

4 Likes

Initially the preprocessing step can be built-in with limited functionality, like regex search and replace. After the plugin API is done, the preprocessor can be made into plugins, to handle more scenarios, like:

  1. replacing _ with space inside note title
  2. … is they any others?

This is less customizable, but it would also solve the unlinked mentions problem:

1 Like

Hey everyone, I am using the Zettelkasten prefixer plug-in to give my files a unique ID. I name my files in this kind of fashion: „YYYYMMDDHHmm - Title“. This way, the title of each file is unique and I am also able to search for the descriptive part of the title when creating links inline.

However, because of the uniqueness of the title, there is no way for me to use the unlinked mentions feature for creating surprising links and connections, because obviously the unique ID in the title is not always mentioned.

It would be great if there was some way to ignore the Zettelkasten prefixer ID in the title in order to use the unlinked mentions feature. Thanks!

1 Like

For example if the

if the note title is “202010160628-test of unlinked reference”

The unlink reference should ignore the “202010160628-” from the its search. look only for test+of+unlinked reference"

I just realized that this feature also helpful for other use-cases, like notes disambiguation.

For example I have a note which is named “Evil (Moral)”
Therefore, the unmentioned link should ignore “Moral” and search for “Evil.”

I prefer brackets “( )” as a syntax to ignore a text from search in the unmentioned link, since it’s more intuitive like in Wikipedia.

Or another solution is the unlinked mention should not do exact text search.

1 Like

I am really lacking this feature as well, in general there are some lacking zettel features, e.g. Create zettelkasten note inline.