summaryrefslogtreecommitdiff
path: root/tests/typ/structure/heading.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/structure/heading.typ')
-rw-r--r--tests/typ/structure/heading.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/structure/heading.typ b/tests/typ/structure/heading.typ
index d37d8796..d08b3687 100644
--- a/tests/typ/structure/heading.typ
+++ b/tests/typ/structure/heading.typ
@@ -1,7 +1,7 @@
// Test headings.
---
-#show node: heading as text(blue, node.body)
+#show heading: it => text(blue, it.body)
=
No heading
@@ -46,8 +46,8 @@ multiline.
= Heading
#set heading(family: "Roboto", fill: eastern)
-#show it: heading as it.body
-#show it: strong as it.body + [!]
+#show heading: it => it.body
+#show strong: it => it.body + [!]
===== Heading 🌍
#heading(level: 5)[Heading]