Option to generate table of contents

It would be helpful to have a simple opt in button for generating a table of contents among the choices for formatting and outlines. Perhaps it can be included in the header development section? No matter where you place it, the point is that it would be amazing for you to develop an obvious and effortless option for generating a table of content (with anchor links) before the final content is created.