summaryrefslogtreecommitdiff
path: root/tests/typ/structure
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-08 11:45:54 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-08 11:45:59 +0100
commita7a4cae2948176119e8995bd8e1868f2d0e65029 (patch)
tree123e8867c939373c1c5ce5a0d20f55192c2467c2 /tests/typ/structure
parent0a41844cc4e645e87fe48aa31ed3a4fd40a6ab11 (diff)
Less style properties
Diffstat (limited to 'tests/typ/structure')
-rw-r--r--tests/typ/structure/heading.typ9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/typ/structure/heading.typ b/tests/typ/structure/heading.typ
index d08b3687..b552f6c3 100644
--- a/tests/typ/structure/heading.typ
+++ b/tests/typ/structure/heading.typ
@@ -43,11 +43,10 @@ multiline.
---
// Test styling.
-= Heading
-
-#set heading(family: "Roboto", fill: eastern)
-#show heading: it => it.body
-#show strong: it => it.body + [!]
+#show heading.where(level: 5): it => {
+ text(family: "Roboto", fill: eastern, it.body + [!])
+}
+= Heading
===== Heading 🌍
#heading(level: 5)[Heading]