anytype-docs-creation-blocks-toggled-headings.md
For the complete documentation index, see llms.txt. This page is also available as Markdown.
A Toggled Heading is a heading that can be collapsed to hide everything beneath it. Click the toggle arrow and the section folds up; click again and it expands. The heading itself stays visible — only the content below collapses.
This works on all three heading levels: Title (H1), Heading (H2), and Subheading (H3).
A Toggled Heading captures everything below it as children until the next heading of the same or higher level. When you collapse the toggle, all those child blocks are hidden.
Type / in the editor.
Search for Toggle Heading 1 , Toggle Heading 2 , or Toggle Heading 3.
Select the level you want.
Type the heading text.
Type these at the start of a line:
#> + space → Toggled Heading 1
##> + space → Toggled Heading 2
###> + space → Toggled Heading 3
If you've already created a regular toggle block (> + space), you can convert it to a toggled heading:
Place your cursor in the toggle.
Type #, ##, or ### followed by space.
The toggle becomes a toggled heading at that level.
To turn a regular heading into a toggled heading, you have two options.
Click the block handle, and Turn into > Toggle Heading.
Alternatively, you can type > + space in front of the heading.
Click the triangle (▶ / ▼) to the left of the heading to toggle.
Highlight all the toggle blocks you want to open or close.
Click on the toggle button.
This works on both regular toggles and headings.
To add content under a Toggled Heading, place your cursor at the end of the heading and press Enter — the new block is automatically nested.
To move a block out of a toggle, decrease its indent with Shift + Tab (or drag it to a position above the heading).
Click the block handle and select > Turn into > Heading 1 (or 2, or 3). The toggle behavior is removed but the children stay where they are.
In the editor — toggles work as described above.
In Flow view — toggle state is preserved per Object.
In PDF export — collapsed sections are still exported. Choose Expand all before export if you want a tighter PDF.
In Markdown export — toggle state is not preserved (Markdown has no native toggle syntax); all content is exported as standard headings.
Use the Title-level toggle as a section divider. A Toggled H1 named "Archive" or "Old notes" lets you stash content out of the way without deleting it.
Convert a heading to a toggle to organize quickly. If a page is already structured with headings, converting them to toggles is a one-click way to add collapsible sections without restructuring.
PreviousTable of ContentsNextInline LaTeX
Last updated 4 hours ago
Was this helpful?