diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-20 18:19:01 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-20 18:20:19 +0100 |
| commit | 38a0404050b1f6725db1bfd357a41539ef4d9973 (patch) | |
| tree | 068c57372d255900ecb727ced593143d49cf2b8f /tests/typ/compiler/show-node.typ | |
| parent | 08daade59f3e0005916881fddd1a774a86278fbb (diff) | |
Document underline, strikethrough, and overline
Diffstat (limited to 'tests/typ/compiler/show-node.typ')
| -rw-r--r-- | tests/typ/compiler/show-node.typ | 6 |
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 |
