Automatic link display/aliases for headings

Use case or problem

When linking to headings, creating a link with custom text is somewhat cumbersome. Often I wish to have the link display as the text of the heading itself, I use the wikilinks to find the file and heading, press tab, then use a vertical bar and write the text of the heading again.

Proposed solution

This might work as a plugin, but it’s pretty minor, and might just be a useful Files & Links option.
I’d like to have an option similar to aliases for headings, that lets you change the default behavior when linking to a heading to display the custom text. For example, when typing [[u Carinae#u Car k and then pressing enter, the resulting markdown would be [[u Carinae#u Car k|u Car k]].
Thanks!

1 Like