💄 Fixed the TOC enable in global set & implement the auto follow in TOC list with content scroll.

This commit is contained in:
凡梦星尘
2022-10-06 10:02:19 +08:00
parent 48df6401d8
commit 0abad2539a
7 changed files with 85 additions and 31 deletions

View File

@@ -42,6 +42,7 @@
}
}
@if $toc_number {
.autonumber {
h2 {
counter-reset: h3;
@@ -66,6 +67,7 @@
content: counter(h2) "." counter(h3) "." counter(h4) ". ";
}
}
}
}
@import 'post-collapse';