summaryrefslogtreecommitdiff
path: root/tests/typ/style/show.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-02-02 11:28:31 +0100
committerLaurenz <laurmaedje@gmail.com>2022-02-02 11:28:31 +0100
commitbdb1c008f2cee7c3929b671d9407d2b578182199 (patch)
tree2c255f9be26c870504ed7dfe819ac783d3de30e9 /tests/typ/style/show.typ
parent7c33c1e691d23fbed6db99f54750f7538f5f1c25 (diff)
Allow set & show only directly in markup
Diffstat (limited to 'tests/typ/style/show.typ')
-rw-r--r--tests/typ/style/show.typ5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/typ/style/show.typ b/tests/typ/style/show.typ
index 42a35f27..533e50f5 100644
--- a/tests/typ/style/show.typ
+++ b/tests/typ/style/show.typ
@@ -1,6 +1,9 @@
// Test show rules.
-// Ref: false
---
// Error: 1-34 show rules are not yet implemented
#show heading(body) as [*{body}*]
+
+---
+// Error: 2-15 show is only allowed directly in markup
+{show (a) as b}