diff options
| author | Yip Coekjan <69834864+Coekjan@users.noreply.github.com> | 2024-09-08 16:29:58 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-08 08:29:58 +0000 |
| commit | 40fcd97d584fc1dfa6446bc4922d3b1e440e0afd (patch) | |
| tree | 29d0439aad5fc5a0301f058c7153cfc4b74a30b9 /tests | |
| parent | 4cddb485847e01f62cc1fe65d37028a87df52daa (diff) | |
Make `QuoteElem` locatable (#4909)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/query-quote.png | bin | 0 -> 1368 bytes | |||
| -rw-r--r-- | tests/suite/introspection/query.typ | 16 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/ref/query-quote.png b/tests/ref/query-quote.png Binary files differnew file mode 100644 index 00000000..e2136592 --- /dev/null +++ b/tests/ref/query-quote.png diff --git a/tests/suite/introspection/query.typ b/tests/suite/introspection/query.typ index 76ecc913..3d71529e 100644 --- a/tests/suite/introspection/query.typ +++ b/tests/suite/introspection/query.typ @@ -281,3 +281,19 @@ // New show rules apply to this, but its location and the materialized fields // from the original are retained. #context query(heading).join() + +--- query-quote --- +// Test quoting a query. + +#quote[ABC] & #quote[EFG] + +#context query(selector(quote).before(here())).first() + +#quote(block: true)[HIJ] +#quote(block: true)[KLM] + +#context query(selector(quote).before(here())).last() + +#quote[NOP] <nop> + +#context query(<nop>).first() |
