Next: tangle, Previous: dir, Up: Specific header arguments [Contents][Index]
:exports
The :exports
header argument is to specify if that part of the Org
file is exported to, say, HTML or LaTeX formats. Note that
:exports
affects only ‘src’ code blocks and not inline code.
code
The default. The body of code is included into the exported file. Example:
:exports code
.
results
The results of evaluation of the code is included in the exported file.
Example: :exports results
.
both
Both the code and results of evaluation are included in the exported file.
Example: :exports both
.
none
Neither the code nor the results of evaluation is included in the exported
file. Whether the code is evaluated at all depends on other
options. Example: :exports none
.