let numbered plugin count nested headings

This commit is contained in:
Alex Shpak
2024-10-04 15:35:02 +02:00
parent 15c85acfcd
commit a5fdf88017
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ $endLevel: 6;
.book-page .markdown.book-article {
@for $currentLevel from $startLevel through $endLevel {
> h#{$currentLevel} {
h#{$currentLevel} {
counter-increment: h#{$currentLevel};
counter-reset: h#{$currentLevel + 1};