Proper support for heading anchors

This commit is contained in:
David Lapshin
2024-05-09 22:52:02 +03:00
parent 17a378b318
commit 1f7dab1f59
7 changed files with 35 additions and 15 deletions

View File

@ -7,6 +7,8 @@ document.addEventListener("DOMContentLoaded", function () {
let button = document.createElement("button");
let icon = document.createElement("i");
icon.classList.add("icon");
button.appendChild(icon);
block.appendChild(button);