summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/issue-5014-show-text-tags.pngbin0 -> 184 bytes
-rw-r--r--tests/suite/styling/show-text.typ9
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/issue-5014-show-text-tags.png b/tests/ref/issue-5014-show-text-tags.png
new file mode 100644
index 00000000..4cefe9d3
--- /dev/null
+++ b/tests/ref/issue-5014-show-text-tags.png
Binary files differ
diff --git a/tests/suite/styling/show-text.typ b/tests/suite/styling/show-text.typ
index 66ae6580..4e031648 100644
--- a/tests/suite/styling/show-text.typ
+++ b/tests/suite/styling/show-text.typ
@@ -199,3 +199,12 @@ $a^2 + b^2 = c^2$ is Pythagoras' theorem.
a \ #h(0pt, weak: true)
b \ #h(0pt, weak: true)
$x$ c $y$
+
+--- issue-5014-show-text-tags ---
+#{
+ let c = counter("c")
+ show "b": context c.get().first()
+ [a]
+ c.step()
+ [bc]
+}