5

I want to export an org mode document so that sections or subsections with TODO keywords do not appear in the exported output. How can this be achieved?

The export-settings documentation does not explicitly mention anything related to this.

7

There is an export option to control exporting of TODO items:

tasks: Toggle inclusion of tasks (TODO items), can be nil to remove all tasks, todo to remove DONE tasks, or a list of keywords to keep (org-export-with-tasks).

Setting it to nil will hide tasks from your exported document.

1

Or if you want to export DONE items but not TODO items, set it (tasks) to done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.