diff options
Diffstat (limited to 'tests/typ/compiler/show-bare.typ')
| -rw-r--r-- | tests/typ/compiler/show-bare.typ | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/tests/typ/compiler/show-bare.typ b/tests/typ/compiler/show-bare.typ deleted file mode 100644 index 210f072d..00000000 --- a/tests/typ/compiler/show-bare.typ +++ /dev/null @@ -1,41 +0,0 @@ -// Test bare show without selector. - ---- -#set page(height: 130pt) -#set text(0.7em) - -#align(center)[ - #text(1.3em)[*Essay on typography*] \ - T. Ypst -] - -#show: columns.with(2) -Great typography is at the essence of great storytelling. It is the medium that -transports meaning from parchment to reader, the wave that sparks a flame -in booklovers and the great fulfiller of human need. - ---- -// Test bare show in content block. -A #[_B #show: c => [*#c*]; C_] D - ---- -// Test style precedence. -#set text(fill: eastern, size: 1.5em) -#show: text.with(fill: forest) -Forest - ---- -#show: [Shown] -Ignored - ---- -// Error: 4-19 show is only allowed directly in code and content blocks -#((show: body => 2) * body) - ---- -// Error: 6 expected colon -#show it => {} - ---- -// Error: 6 expected colon -#show it |
