Collapsible Blocks (Toggles)

Collapsible blocks (toggles) let you expand or collapse sections of your doc. They help keep long documents clean, scannable, and easier to read.

Collapsing a section

Click the arrow next to a header to collapse or expand its content.

Keeping a section collapsed

You can keep a section collapsed or expanded by pressing ​Shift-Click when hovering over its header.
Alternatively, you can click the four-dot menu next to the arrow and choose Keep this section collapsed/expanded from the list that appears.

Defining sections

A section includes everything under a header until another header of the same level appears.
Example: A Heading 1 section includes all blocks below it (including H2, H3) until the next H1.
To manually stop a section earlier, insert a separator: ---.

Collapsing a block

There are three ways to create a collapsible block:
  • Select a block of text and choose Collapsible Block from the command toolbar.
  • Type >> at the beginning of a block.
  • Type /Collapsible Block in the editor.
Once you've created a collapsible block, you can collapse or expand it by clicking the arrow in front it, just like you would with a header.

Adding content to a collapsible block

To add content to an existing collapsible block, press Return and start typing.
You can add other types of blocks within a collapsible block, such as bulleted lists, numbered lists, or even images.
 Collapsible blocks can be nested within each other.

Exiting a collapsible block

To exit a collapsible block, go to its last line, then press Return.