On 30/05/2024 12:03, Martin Steffen wrote:
#+macro: year 24 #+macro: source [[file:./$1/t.org][for the year $1]] #+macro: target {{{source({{{year}}})}}}
Custom link type might be more convenient (info "(org) Adding Hyperlink Types") https://orgmode.org/manual/Adding-Hyperlink-Types.htmlI can not figure out if it is possible with some trick to expand {{{year}}} before file:... is parsed.