I’m looking to get a collapsible section in the middle of a flow, is there a way to get something like it with org-mode? IE, to be able to collapse part of body called “sidetrack”?
* Installing xyz
make package1
make package2
** Sidetrack, get package3
curl package3
tar -xvf package3
make package3
Your question looks a lot like it’s in the FAQ.
You’re probably looking for inlinetasks, or simply list items (which also collapse with
TAB) :You don’t need to put another bullet (in this case, a dash) for the item to end if you stop indenting and let your text be on column 0. If you want to indent it all, then indent the bullet, and the entry will consist of all that’s indented more than the bullet. Details in the Org manual.