summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndrew Voynov <37143421+Andrew15-5@users.noreply.github.com>2024-09-03 23:21:35 +0300
committerGitHub <noreply@github.com>2024-09-03 20:21:35 +0000
commita87d4776c02fb7fc1492cf30f453e38879bf72e4 (patch)
tree28c0cbe8cff9100a59ba87494817d93968c295e7 /tests
parent4fda03abdc240f7aa8a3853a1a2c674e0cd2f192 (diff)
Add show-text line wrapping test (#4890)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/show-text-line-wrapping.pngbin0 -> 225 bytes
-rw-r--r--tests/suite/styling/show-text.typ5
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/ref/show-text-line-wrapping.png b/tests/ref/show-text-line-wrapping.png
new file mode 100644
index 00000000..e54743e5
--- /dev/null
+++ b/tests/ref/show-text-line-wrapping.png
Binary files differ
diff --git a/tests/suite/styling/show-text.typ b/tests/suite/styling/show-text.typ
index d073f72e..66ae6580 100644
--- a/tests/suite/styling/show-text.typ
+++ b/tests/suite/styling/show-text.typ
@@ -167,6 +167,11 @@ hi
Hello #[ ] \
#[ ] #[ ] world!
+--- show-text-line-wrapping ---
+#show "start end": "word"
+start
+end
+
--- show-text-after-normal-show ---
#show rect: "world"
#show "lo wo": set text(red)