Google-docs – How to configure Google document so that table of content is automatically updated

google docs

How can I configure Google document so that table of content is automatically updated whenever a new heading is added?

Best Answer

According to Add a title, heading, or table of contents in a document, to update the table of content, the corresponding refresh button should be clicked.

It's worth to say that according to comment #7 on Issue 2502: Add the ability to generate and update the TOC of a doc it's not possible to create or update a Table of Content by using Google Apps Script.