From 5661c20580584d86897d139cdeffd6fb1a9a6d5c Mon Sep 17 00:00:00 2001 From: Robin Date: Wed, 16 Jul 2025 18:15:49 +0200 Subject: [PATCH] Slightly improve selector docs (#6544) --- crates/typst-library/src/foundations/selector.rs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/crates/typst-library/src/foundations/selector.rs b/crates/typst-library/src/foundations/selector.rs index 8f264a813..b8e34eb95 100644 --- a/crates/typst-library/src/foundations/selector.rs +++ b/crates/typst-library/src/foundations/selector.rs @@ -37,13 +37,12 @@ pub use crate::__select_where as select_where; /// A filter for selecting elements within the document. /// -/// You can construct a selector in the following ways: -/// - you can use an element [function] -/// - you can filter for an element function with -/// [specific fields]($function.where) -/// - you can use a [string]($str) or [regular expression]($regex) -/// - you can use a [`{