The anchor links in the Table of Contents all work fine, but the sticky header blocks the H2. I imagine that this could be handled with some implementation of smooth scrolling or a more simple combination of setTimeout and...
window.scrollTo({top: window.scrollY-document.querySelector(".site-header").offsetHeight,behavior: smooth})
closes issue #170
The anchor links in the Table of Contents all work fine, but the sticky header blocks the H2. I imagine that this could be handled with some implementation of smooth scrolling or a more simple combination of setTimeout and...
window.scrollTo({
top: window.scrollY-document.querySelector(".site-header").offsetHeight,
behavior: smooth
})