You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm afraid this wouldn't be possible. Since this project follows the same methodology as jekyll-toc, the problems discussed in allejo/jekyll-toc#3 would apply here.
Since the goal of this project is to be compatible with GH pages, I'm limited to clever-ish string manipulation of HTML so i have no real information on the DOM structure.
@allejo: after making the switch I just noticed that the only way to limit the target anchors is their header level.
Do you think it would be possible to add a parent class as a limit, like
.content > h2
?Example: https://twbs-bootstrap4.netlify.com/docs/4.1/utilities/image-replacement/#warning
No big deal if it's hard to add such feature, we'll use JS or CSS to handle this, but I thought I'd ask :)
/CC @MartijnCuppens
The text was updated successfully, but these errors were encountered: