Next: padline, Previous: mkdirp, Up: Specific header arguments [Contents][Index]
:commentsControls inserting comments into tangled files. These are above and beyond whatever comments may already exist in the ‘src’ code block.
no
The default. Do not insert any extra comments during tangling.
link
Wrap the ‘src’ code block in comments. Include links pointing back to
the place in the Org file from where the code was tangled.
yes
Kept for backward compatibility; same as “link”.
org
Nearest headline text from Org file is inserted as comment. The exact text
that is inserted is picked from the leading context of the source block.
both
Includes both “link” and “org” comment options.
noweb
Includes “link” comment option, expands noweb references, and wraps them in
link comments inside the body of the ‘src’ code block.