Commit graph

4 commits

Author SHA1 Message Date
rock G
3ff06fe033
fix: anchor link need decode (#719) 2022-12-05 21:21:37 +01:00
Jimmy Cai
655b5102c4 fix(article): footnote reference does not work
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/632
2022-07-28 16:48:37 +00:00
lonzzi
7142de24cc
fix(article): TOC link not working when the heading starts with digits (#603) 2022-06-11 00:39:16 +02:00
Zoroark
2b40a32d47
feat(article): Scrollspy for the table of contents (#425)
* Add first try at scrollspy (broken right now)

* Scrollspy actually works now

* Fix VS Code errors by setting JS version

* Recompute offsets when window size changes

* Improve list compatibility for toc active selection

Support up to 6 levels of indentation, properly support <ol>

* Remove debug string

* Add more docs in smoothAnchors

* Use a map to match ids to navigation elements
2022-01-22 10:35:08 +01:00