The counter function can be used to keep track of or display a counter in the content.
Arguments
The following arguments can be used with counter:
Argument | Description |
---|---|
name | The name of the counter. |
start | The number the counter should start with, default is 0. |
skip | The amount to skip per iteration. |
direction | The direction of counting: up or down. |
A boolean value to determine whether to display the current value of the counter. | |
assign | The option to store the current counter value in a variable. |