From aba3ba27909df58167d0719ad67f9ab2035c2c39 Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Thu, 14 May 2026 22:23:48 +0100 Subject: update table of contents to include h4, h5, and h6 headings --- communities/red-right-hand/174bg.net/public/handbook/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'communities/red-right-hand/174bg.net/public/handbook/index.html') diff --git a/communities/red-right-hand/174bg.net/public/handbook/index.html b/communities/red-right-hand/174bg.net/public/handbook/index.html index 9995afc..b8ab64c 100644 --- a/communities/red-right-hand/174bg.net/public/handbook/index.html +++ b/communities/red-right-hand/174bg.net/public/handbook/index.html @@ -819,7 +819,7 @@ }); function generateTableOfContents() { - const headings = document.querySelectorAll("h1, h2, h3"); + const headings = document.querySelectorAll("h1, h2, h3, h4, h5, h6"); const toc = document.createElement("nav"); toc.id = "table-of-contents"; const rootList = document.createElement("ul"); -- cgit v1.2.3