Add option to always preserve original link text as display text (alias) when the target note is renamed (don't change original text when updating links)

There are situations where you actually want the link text to be rewritten: e.g. when the link is just listed in a “See Also” section. In these cases it’s because the link text is supposed to be the title of the note. The underlying semantics of wikilinks should not change.

If you want stable link text, then the link should have custom text specified:

[[write naturally|write naturally]]

Of course this is a little cumbersome, so perhaps making the input a bit easier would be the best solution:

  • Select write naturally
  • Type [[|
  • Autocompletes to [[write naturally|write naturally]]

It might also be helpful to allow a wikilink with no target and only custom text:

[[|write naturally]]

Such a link should be clickable to create a new note and get replaced with the full link:

[[write naturally|write naturally]]

Another option is to have a setting that defaults to creating wikilinks with identical custom text. Personally I find link text changing to be the more surprising option, so I’d rather make the default link format one that is stable and make unstable link text more of an explicit choice.

It may be that there are two kinds of people with two different default styles of linking notes together.

1 Like