Michael Dauer <mick.da...@gmail.com> writes: > I mean something like: > * Heading > [[http:abc{{{input-file}}}] > > When exporting it to html then the link is not replaced.
This is to be expected, and I do think that Org is doing it right by not replacing macros in links. You cannot exactly control what is inside link path - if an actual website link happens to contain {{{...}}} pattern, you will have no options left how to prevent Org from replacing that pattern. If you want to generate link paths programmatically, you can instead define custom links types or link abbreviations. See https://orgmode.org/manual/Link-Abbreviations.html and https://orgmode.org/manual/Adding-Hyperlink-Types.html You can control custom link export as well. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>