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
{{ message }}
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.
Courtesy of sailKite#4202 in the discord for another option:
/* inside Dynamic ToC */
.dynamic-tocol {
list-style-type: none;
}
.dynamic-tocol {
counter-reset: decimal;
}
.dynamic-tocol>li {
display: block;
}
.dynamic-tocol>li::before {
content:counters(decimal,".") " ";
counter-increment: decimal;
color:var(--text-a) /* put your text var here or hardcode the color */;
}
The numbers of child is independent, like:
Most of the time, I hope they are related, like:
Tips: CSS method
counters
can be used to solve this problem, it is recommended to add an list stylenested number
The text was updated successfully, but these errors were encountered: