Skip to content

Latest commit

 

History

History
62 lines (30 loc) · 1.5 KB

Numeration.md

File metadata and controls

62 lines (30 loc) · 1.5 KB

Numeration module


Table of Contents

Purpose


Purpose

RakuDoc gives a standard way to number headers and items.

In addition, numerations can be continued.

When a level is incremented in a multilevel numeration, the next level down is not changed.

When a level is incremented, higher levels start again.

This module can be sub-classed in order to provide different numbers / behaviours.

method inc( $level ) Increment the given level, resetting higher levels. Returns a string of the result.

method reset Reset the counters for all levels.


----

AUTHOR

Richard Hainsworth aka finanalyst


----

VERSION

v0.2.1



Rendered from docs/docs/Numeration.rakudoc at 15:33 UTC on 2024-06-19

Source last modified at 15:32 UTC on 2024-06-19