This Table of Contents Block by Ultimate Blocks allows you to add a table of contents to your WordPress post or page. It is generated automatically from the headings of the post/page. You can exclude a particular type of heading from the table of contents. You can also enable show/hide toggle for users. This block also allows you to show the table of contents in two or three columns.