lino.utils.jinja¶
This defines the Counter
class, a utility used in Jinja
templates to generate self-incrementing counters for sections,
subsections and any other sequences.
Usages and examples can be found in Lino utilities.
Classes
|
Represents a counter. |
- class lino.utils.jinja.Counter(parent=None, start=0, step=1)¶
Bases:
object
Represents a counter. Usage see