I've been using Org's handy link abbreviation feature in Org documents:
#+link: Google https://google.com/
* Test Org Links
Here's an abbreviated link: [[Google][This is Google search]].
Which works as expected, including opening the link. Because I have the same link abbreviations used across multiple Org files, I'd like to place them in a links.org
file:
#+link: Google https://google.com/
Then include that file in other Org files:
#+INCLUDE: "links.org" src org
* Test Org Links
Here's an abbreviated link: [[Google][This is Google search]].
With this setup the links are exported correctly (for example to HTML) but they're not openable in the Org buffer. Org lint also flags them as Unknown fuzzy location
.
Are there extra steps or setup needed to use external link abbreviations this way? I understand there's an Emacs alist that can be used to store the link abbreviations but I need a self-contained Org document repository.