From 715f9fb0a5b5242c405e2c9277596fad7509e0db Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 4 Apr 2023 23:27:51 +0200 Subject: Locatable selectors --- library/src/meta/counter.rs | 23 ++++++++++------------- library/src/meta/query.rs | 21 +++------------------ library/src/prelude.rs | 5 +++-- 3 files changed, 16 insertions(+), 33 deletions(-) (limited to 'library/src') diff --git a/library/src/meta/counter.rs b/library/src/meta/counter.rs index 5ad9b48d..d771168d 100644 --- a/library/src/meta/counter.rs +++ b/library/src/meta/counter.rs @@ -276,10 +276,11 @@ use crate::prelude::*; pub fn counter( /// The key that identifies this counter. /// - /// - If this is the [`page`]($func/page) function, counts through pages. - /// - If this is any other element function, counts through its elements. /// - If it is a string, creates a custom counter that is only affected by - /// manual updates. + /// manual updates, + /// - If this is a `{