Steps to reproduce
- Make a link to a note (or no note) with pipe and custom text
[[Note|CUSTOM TEXT]] (or [[|CUSTOM TEXT]])
- Prepare to change the linked note to another note (or insert a note) behind the pipe & custom text
- Select the new note from auto-select
- Click on the note or press enter.
Expected result
The newly inserted note does not auto-pair the brackets behind the pipe:
[[New Note|CUSTOM TEXT]]. Obsidian detects that you are editing the linked note inside closed brackets.
Actual result
The newly inserted note auto-pairs the brackets behind the pipe even though double closing brackets are already present at the end of the custom text:
[[New Note]]|CUSTOM TEXT]].
And so I’d have to backspace on those two closing brackets every time I change the linked note. That, or I manually type the entire file name without selecting the note.
Environment
- Operating system: macOS Mojave
Additional information
Here’s a gif to explain what I mean:
After asking for help on how I can select the note without closing the brackets, it was suggested to me that I report this as a bug instead.
This also happens when I want to link to a note’s heading. Typing # while changing the note also auto-pairs at the end of the heading, even though it already auto-paired after the custom text when I first made the link. e.g.
[[Note#Heading]]|CUSTOM TEXT]]
instead of:
[[Note#Heading|CUSTOM TEXT]]