This demo creates a table of contents (TOC) for a Web page, whose text is auto-generated and auto-updated. The standards used in the demo are Shadow DOM, HTML Slot, and HTML Template.
๐ The TOC layout is not auto-generated/updated, only its text.