org-manual.org: describe external reference for :var header

* org-manual.org: the description of the :var header argument for
working with source code has been expanded to mention the possibility
of having an external reference, a reference to an element in another
file.
This commit is contained in:
Eric S Fraga 2021-05-03 13:37:58 +01:00 committed by Bastien
parent 4ca4b45a93
commit 479a3da22e
1 changed files with 5 additions and 1 deletions

View File

@ -16797,7 +16797,11 @@ the =var= header argument.
body. {{{var(ASSIGN)}}} is a literal value, such as a string,
a number, a reference to a table, a list, a literal example, another
code block---with or without arguments---or the results of evaluating
a code block.
a code block. {{{var(ASSIGN)}}} may specify a filename for references
to elements in a different file, using a =:= to separate the filename
from the reference.
: :var NAME=FILE:REFERENCE
Here are examples of passing values by reference: