summaryrefslogtreecommitdiff
path: root/tests/typ/basics
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-20 18:19:01 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-20 18:20:19 +0100
commit38a0404050b1f6725db1bfd357a41539ef4d9973 (patch)
tree068c57372d255900ecb727ced593143d49cf2b8f /tests/typ/basics
parent08daade59f3e0005916881fddd1a774a86278fbb (diff)
Document underline, strikethrough, and overline
Diffstat (limited to 'tests/typ/basics')
-rw-r--r--tests/typ/basics/heading.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/basics/heading.typ b/tests/typ/basics/heading.typ
index 9fd4e648..4e9550b9 100644
--- a/tests/typ/basics/heading.typ
+++ b/tests/typ/basics/heading.typ
@@ -1,7 +1,7 @@
// Test headings.
---
-#show heading: it => text(blue, it.body)
+#show heading: it => text(blue, it.title)
=
No heading
@@ -44,7 +44,7 @@ multiline.
---
// Test styling.
#show heading.where(level: 5): it => block(
- text(family: "Roboto", fill: eastern, it.body + [!])
+ text(family: "Roboto", fill: eastern, it.title + [!])
)
= Heading