Yaroslav Bulatov
Yaroslav Bulatov

Reputation: 57973

org-mode inline collapsible sections

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

Upvotes: 4

Views: 422

Answers (1)

Nikana Reklawyks
Nikana Reklawyks

Reputation: 3404

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) :

* Installing xyz
make package1
make package2
- Sidetrack, get package3
  curl package3
  tar -xvf package3
make package3

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.

Upvotes: 7

Related Questions