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!

9 Likes

Does anyone know if this is being considered for future updates? It would be very handy, we could have the option to enable it. Or have it as a plugin, perhaps?

1 Like

Also vote for this Feature :confounded:

And hope that when using [[## to link to a heading from other note, it would also adding the heading as the display text.

For example, what I got now is:
[[A long Note#A very long Heading]]

And I hope there would be an option Auto adding the heading as display text in Editor settings, with it, I could get:
[[A long Note#A very long Heading|A very long Heading]]

And it would be rendered as only A very long Heading - which would be shorter and more elegant!

1 Like

Adding my vote for this feature. I use heading links a lot and this would make things much easier

+1 this would be so useful