Remove the filename from autocomplete internal links

What I’m trying to do

I want to insert links, via the autocomplete menu which opens when write the [[, which only contain the first markdown title in the note file, but does not include the file name in brackets.

Currently it creates links of the form: [[<FILENAME>|FirstMarkdownTitle (<FILENAME>)]], I don’t want the to have the filename inside of the round brackets and the brackets.

Things I have tried

I’ve searched for a setting to change the format of the title created when I use the autocomplete feature, and I searched for a plugin. I’ve also looked at the plugin API but did not find an obvious why to solve this with my own plugin.