I want to change the display text of my markdown links
All this without moving the cursor and using the mouse, in order for it to be fast and efficient. Wiki links already support this with the [[ and | keys.
Proposed solution
Trigger the autocomplete prompt after writing the opening parenthesis of a markdown link. (i.e. after this part: [display text](). I manually type the ]( characters.
Obsidian already automatically inserts matching brackets [] and parenthesis ().
Optional: Use TAB to move from the display text to the parenthesis, like this:
Write [home and see [home].
Press TAB
See [home]() with the cursor between the parenthesis, and a popup with autocomplete suggestions.
Optional 2: Autocomplete suggestions are based on the display text.
Current workaround (optional)
Use [[ to trigger the autocomplete popup and insert a link.
Press <- many times to go back to the display text, use backspace to delete.
“FIX: Turn on “Use Standard Markdown Links” in Editor options and continue typing in wikilinks to grab link from suggestions; this should then automatically reformat links to standard md, once a link suggestion is selected”
from Which is better- WikiLinks or Markdown links?
Even if you have Settings > Files and links → Use [[Wikilinks]] disabled, you can still use the auto-suggester by typing [[ for suggestions → arrow to or type the partial note note → # or ^ → arrow to the heading/block → enter, and a proper Markdown link (spaces encoded as %20 if necessary) will be created.
You’ll need to go back and change the display text if it’s not to your liking, but that works.
Thanks @ariehen - it seems you need to hit # as soon as you identify the note in question before the cursor exists the note name. Going back after the link has been created in your note doesn’t then reveal the headings. But hitting hash for the first time works great. Live and learn etc.