Linked text appearing in unlinked mentions and corresponding note shows as an orphan node

Hello everyone!

Hope you’re all having a good day.

So I’m currently studying some stuff from Typescript and I am trying to link to a note using plain text inside a wiki link but no matter what happens, the corresponding note shows as an orphan node in the graph view and the link text appears as an unlinked mention even though it’s literally INSIDE THE SQUARE BRACKETS and it’s plain text, not in a codeblock. So can someone tell me where the problem is?
The link itself redirects me to the desired note but this doesn’t show up in the graph view and of course the linked mentions. I tried rebuilding the vault but in vain. So I thought I’d come here because I honestly gave up