Docly provided helper functions to create chapter counters working on multiple levels.
Creates a counter variable with specified name. Note that any variable with this name will be overwritten in the current scope.
Createa a counter variable with specified name. Note that any variable with this name will be overwritten in the current scope.
Steps backwards on a counter.
Adds an extra level to the counter.
Steps down one level one the counter (for multi level counters).