Reputation: 3676
I would like to put some text into an org file that will not be published when I export the content to one of the target types (HTML in this case). Is there a way I can accomplish this goal?
Upvotes: 2
Views: 2010
Reputation: 1733
COMMENT lines dont get exported. They also display purple in the emacs with default config.
Upvotes: 3
Reputation: 7884
You likely want to use the :noexport:
tag as described in the manual under Selective Export.
The only real limitation here is that you have to have the (sub)heading as the last one at that level.
Alternately you could use inline tasks ( (require 'org-inlinetask)
) and then mark the task and the end-of-task with :noexport:
(I tested and with only one it might not properly omit the end of the task).
Upvotes: 4