diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-04-13 10:39:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-13 08:39:45 +0000 |
| commit | 020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch) | |
| tree | c0027ad22046e2726c22298461327823d6b88d53 /tests/typ/compiler/show-selector.typ | |
| parent | 72dd79210602ecc799726fc096b078afbb47f299 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/typ/compiler/show-selector.typ')
| -rw-r--r-- | tests/typ/compiler/show-selector.typ | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/tests/typ/compiler/show-selector.typ b/tests/typ/compiler/show-selector.typ deleted file mode 100644 index db6db40f..00000000 --- a/tests/typ/compiler/show-selector.typ +++ /dev/null @@ -1,39 +0,0 @@ -// Test show rule patterns. - ---- -// Inline code. -#show raw.where(block: false): box.with( - radius: 2pt, - outset: (y: 2.5pt), - inset: (x: 3pt, y: 0pt), - fill: luma(230), -) - -// Code blocks. -#show raw.where(block: true): block.with( - outset: -3pt, - inset: 11pt, - fill: luma(230), - stroke: (left: 1.5pt + luma(180)), -) - -#set page(margin: (top: 12pt)) -#set par(justify: true) - -This code tests `code` -with selectors and justification. - -```rs -code!("it"); -``` - -You can use the ```rs *const T``` pointer or -the ```rs &mut T``` reference. - ---- -#show heading: set text(green) -#show heading.where(level: 1): set text(red) -#show heading.where(level: 2): set text(blue) -= Red -== Blue -=== Green |
