Table of contents
Insert Table of contents from the slash menu, or from Insert block on a phone. The headings appear immediately under its title. Press a heading to go to it.
Table of contents
Press a heading in the contents to go to it. Edit a heading and the contents follows.
What it stores
Heading levels are indented. Renaming, adding, moving or deleting a heading updates the contents, including when you undo a change. It also works in a read-only document.
Before the first heading
Turn the paragraph below into a heading to add it to the contents.
What it stores
The outline lists nonempty headings in the current editor. Columns and tabs are separate writing surfaces: insert a contents block inside one to list that surface’s headings. Callout titles and code blocks are not included.
The Markdown
Section titled “The Markdown”The block stores only its marker. The list is drawn from the document, so generated labels never become stale saved text.
<table_of_contents/>Following a heading does not change the document. A reader without Aa needs to support this marker to draw the outline.