In the org mode image [[/path/to/image.png]], can I define a var or something like property at head of the file, such as 'imgPath', and use it in image like [[{$imgPath}/image.png]] ?

  • 2
    Yes - see Link Abbreviations in the Org mode manual.
    – NickD
    Nov 19, 2023 at 13:13
  • @NickD Thanks!! This is the answer.
    – Malloc
    Nov 19, 2023 at 20:24


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.