Improve sections

This commit is contained in:
2026-04-28 17:43:20 +02:00
parent 4415a391e2
commit adbe10fa41
6 changed files with 59 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
var a = document.createElement("a");
a.href = "#" + h.id;
var clone = h.cloneNode(true);
clone.querySelectorAll(".btn, .muted").forEach(function (el) { el.remove(); });
clone.querySelectorAll(".btn, .muted, .heading-anchor").forEach(function (el) { el.remove(); });
a.textContent = clone.textContent.trim();
li.appendChild(a);
list.appendChild(li);