summaryrefslogtreecommitdiff
path: root/library/src
diff options
context:
space:
mode:
Diffstat (limited to 'library/src')
-rw-r--r--library/src/meta/counter.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/library/src/meta/counter.rs b/library/src/meta/counter.rs
index 0e41a826..46992d38 100644
--- a/library/src/meta/counter.rs
+++ b/library/src/meta/counter.rs
@@ -214,6 +214,12 @@ use crate::prelude::*;
/// If this is omitted, displays the counter with the numbering style for the
/// counted element or with the pattern `{"1.1"}` if no such style exists.
///
+/// - both: boolean (named)
+/// If enabled, displays the current and final top-level count together. Both
+/// can be styled through a single numbering pattern. This is used by the page
+/// numbering property to display the current and total number of pages when a
+/// pattern like `{"1 / 1"}` is given.
+///
/// - returns: content
///
/// ### step()