Home / Emacs / Org Babel / Source block headers
The noweb header argument
Add :noweb yes to enable inclusion of #+NAME:-d source blocks with
<<name>> and their results with <<name()>> or <<name(var-name =
var-value)>>.
To include multiple blocks, set the noweb-ref header argument to name
instead of using #+NAME:, possibly at a file or subtree level.
- To export nothing in place of
<<name>>, set:noweb strip-export. - To export un-expanded
<<name>>, set:noweb no-export.
Learn more in the Emacs manual.
By default, every line gets the same prefix; disable this with :noweb-prefix
no.
Preview noweb expansions with C-c C-v v or C-c C-v C-v.