Relative & Absolute path mode: Support Auto-alias insertion when clicking uninitialized links

From the original @daranguiz post:

what I expect to happen is:

  • When clicking a link that points to a non-existent file,
  • Create that file (as usual),
  • Then in all notes that have links to that now-created file, update them to include an alias.

For example, say you have two notes with a link that doesn’t exist yet.

# Note 1

[[Cool Link]]
# Note 2

[[Cool Link]] 

After I click [[Cool Link]] to generate a new note, I would expect the following result:

# Note 1

[[<path>/Cool Link|Cool Link]]

// (or [[Cool Link|Cool Link]], if the file is in the same directory)
# Note 2

[[<path>/Cool Link|Cool Link]] 

// (or [[Cool Link|Cool Link]], if the file is in the same directory)
# Cool Link

The note I just created
1 Like