Releases: rca-umb/anchor-link-display-text
Releases · rca-umb/anchor-link-display-text
1.2.1
1.2.0
[1.2.0] - 2025-2-25
Added
- Display text suggestions. A suggestions popup will appear when the cursor is directly after an anchor link with display text. There will be three suggestions one, for each of the display text formats that can be used with this plugin (no note name, note name and then heading(s), heading(s) and then note name).
Changed
- Heading separators are now validated to not include link breaking characters
[]|#^
. If any of these characters are typed into the separator field, the character will be ignored and a warning will appear.
Fixed
^
character will not be included in the display text when linking to a block.- Minor typos.
1.1.0
1.0.1
1.0.0
0.2.0
[0.2.0] - 2024-11-29
Added
- Option to pick which headings to include in link display text when linking to multiple headings.
- Options to change where the note name goes in relation to the headings in the link display text.
- Option to change the message of the optional notice that appears whenever the plugin auto changes the display text.
Fixed
- Incorrect display text when the link includes multiple headings.
0.1.0
Initial Release
This plugin automatically sets the display text of links to headings of other notes to be the name of the heading instead of showing the link text as it appears. So, instead of:
[[Title#Heading]]
The link will automatically update to:
[[Title#Heading|Heading]]
This provides a nice appearance but saves the time of manually setting the display text, especially if you use tab to autocomplete the link (when you autocomplete, you have to navigate back in front of the brackets, add the vertical bar, and then type the heading name).
In the settings for this plugin, you can specify the format of the display text:
Just the heading (default): [[Title#Heading|Heading]]
The heading and note name: [[Title#Heading|Title Heading]]