Is it possible to register file links from a non-Markdown file?

I believe that at the moment, there is no available public API. I have created this feature request, but have not received any feedback either.