It is possible to export the code of code blocks, the results
of code block evaluation, both the code and the results of code block
evaluation, or none. For most languages, the default exports code.
However, for some languages (e.g.,
ditaa) the default exports the
results of code block evaluation. For information on exporting code block
bodies, see Literal examples.
:exports header argument can be used to specify export
It is possible to inhibit the evaluation of code blocks during export.
org-export-babel-evaluate variable to
ensure that no code blocks are evaluated as part of the export process. This
can be useful in situations where potentially untrusted Org mode files are
exported in an automated fashion, for example when Org mode is used as the
markup language for a wiki.