diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-02-27 11:05:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-27 10:05:16 +0000 |
| commit | 145723b1ef4fa23f1f6665b8907dfe79d0bf83cf (patch) | |
| tree | 02a7de661ddd5dafa75dfce3e3c8b45a7333b9dc /tests/typ/meta/query-before-after.typ | |
| parent | e9ee00a7c0df083663ff5ccca162238b88525e14 (diff) | |
New context system (#3497)
Diffstat (limited to 'tests/typ/meta/query-before-after.typ')
| -rw-r--r-- | tests/typ/meta/query-before-after.typ | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/typ/meta/query-before-after.typ b/tests/typ/meta/query-before-after.typ index 3ddc9402..5f134093 100644 --- a/tests/typ/meta/query-before-after.typ +++ b/tests/typ/meta/query-before-after.typ @@ -57,12 +57,11 @@ #set heading(outlined: true, numbering: "1.") -// This is purposefully an empty -#locate(loc => [ +#context [ Non-outlined elements: - #(query(selector(heading).and(heading.where(outlined: false)), loc) + #(query(selector(heading).and(heading.where(outlined: false))) .map(it => it.body).join(", ")) -]) +] #heading("A", outlined: false) #heading("B", outlined: true) |
