When adding an internal link via a plugin, this does not appear in the plugin metadataCache and thus doesn’t appear in the backlinks or the graph view. I am currently creating markdown links using render.Markdown(plugin.app, "[[link]]", linkContainer, sourcePath, plugin). However as mentioned this doesn’t show up in backlinks etc. It would be great if there was an API method to add a link to the metadata cache. i.e. something like parseInternalLink("[[link]]",sourcePath).
jumping on this because I would really like to have this for my plugin, which lets users freely write [[links]] in ways that are manually rendered with MarkdownRenderer.render().