summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/show-node.typ
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/compiler/show-node.typ
parent08daade59f3e0005916881fddd1a774a86278fbb (diff)
Document underline, strikethrough, and overline
Diffstat (limited to 'tests/typ/compiler/show-node.typ')
-rw-r--r--tests/typ/compiler/show-node.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/compiler/show-node.typ b/tests/typ/compiler/show-node.typ
index f14fb002..5dd7ad98 100644
--- a/tests/typ/compiler/show-node.typ
+++ b/tests/typ/compiler/show-node.typ
@@ -31,9 +31,9 @@ my heading?
move(dy: -1pt)[📖]
h(5pt)
if it.level == 1 {
- underline(text(1.25em, blue, it.body))
+ underline(text(1.25em, blue, it.title))
} else {
- text(red, it.body)
+ text(red, it.title)
}
})
@@ -51,7 +51,7 @@ Another text.
#show heading: it => {
set text(red)
show "ding": [🛎]
- it.body
+ it.title
}
= Heading