Counter reset and increment properties
Set the Counter increment name and a Counter reset.
Counter reset
The Counter reset should be added to a parent element to reset counters within it. For example, you can apply the Counter reset property to the Body base style to reset all counters with a specific name.
Expected values:
- Custom ident - The name of the counter. For example, Section
- Number (integer) - Use this after a Custom ident to reset the counter to a specific starting number. For example 'Section 2' will reset the Counter 'Section' to start at 2
- None - Cancels any reset applied to a less specific rule.
You can reset multiple counters at the same time and reset them to start at different numbers. To reset multiple counters at different starting numbers, add multiple Counter reset name-number pairs, separated by a space. For example, Section 1 Chapter 2 Month 0
Counter increment
Expected value:
- The name of the counter. For example, Section