numbered
Node that can be numbered depending on its location in the document and the amount of occurrences according to its key.
The numbering format can be set via numbering by specifying a format for the given key.
.numbering
- headings: 1.1
- greetings: 1.a
# Title 1
.numbered {greetings}
number:
Hello! This block has the number .number, which is `1.a`. The next one will be `1.b`.
Content copied to clipboard
Return
the new Numbered node
Parameters
key
- Likely named
name to group (and count) numbered nodes
body
- Likely a body argument
content, with the formatted location of this element (as a string) as an argument