Dynamically changing aliases for note names

Use case or problem

I often use the title of a note as a link which I include into a sentence of another note. For example: Today, I went for a [[run]], or [[Running]] is great, or Why are you [[running]]. All of these require one note, but three different aliases. I would like for these aliases to be created dynamically as I write them into a note.

Proposed solution

My request is similar to Uppercase lowercase. The difference is that rather than hardcoding uppercase/lowercase, I want to dynamically change the first letter in the title depending on where it is in a sentence.

Current workaround

I just manually add the alias for each note as I am writing the synonyms.

I think this has been discussed before.
I use the Various Complements plugin for this.

Setup:
Add to your Templater template:

aliases:
  - <%tp.file.title.toLowerCase()%>

Then when you type run, your Run.md file will be invoked with alias via the said plugin (it even adds the double square brackets by itself), so I’d have I was [[Run|run]]ning around in circles today. This is uglier than [[Run|running]], but there’s less extra work involved (manual additions).
I mean the declinations and agglutinations (I’m not a English speaker; in my language I’d need dozens of this each word prolly) for all languages would be just too numerous.

This is a good workaround for now thanks. But it would be great to ave a plugin which does the synonym aliases.

Link with alias has an option to automatically add an alias to a note you’re linking to. If you turn the option on, it will add the display text as an alias for you.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.