I'd like to be able to do the following:
* A story about airplanes
** Chapter one
*** # Introduce the main character
Billy was a nice boy etc ...
*** # Set the scene
One day Billy stumbled upon a paper airplane..
In other words, I want to be able to write prose and use headings with their expand/collapse capability to give hints to myself about what I'm trying to say in a given paragraph/section, but when exporting I don't want these to be treated as headings that should be part of the text.
Is this possible?
According to this page[1] lines starting with # are treated as comments. But when they are headings they are still exported.
delete-and-extract-region
instead of justreplace-regexp
limited to(point-at-bol)
(point-at-eol)
? – rpluim Sep 19 '18 at 12:01replace-regexp
. All the search/replace type functions I could find operate on strings, so I had to usedelete-and-extract-region
as a way to obtain the string I needed. – numerodix Sep 20 '18 at 12:04