From a87d4776c02fb7fc1492cf30f453e38879bf72e4 Mon Sep 17 00:00:00 2001 From: Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com> Date: Tue, 3 Sep 2024 23:21:35 +0300 Subject: Add show-text line wrapping test (#4890) --- tests/ref/show-text-line-wrapping.png | Bin 0 -> 225 bytes tests/suite/styling/show-text.typ | 5 +++++ 2 files changed, 5 insertions(+) create mode 100644 tests/ref/show-text-line-wrapping.png 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 Binary files /dev/null and b/tests/ref/show-text-line-wrapping.png 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) -- cgit v1.2.3