summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/show-text-in-citation.pngbin0 -> 795 bytes
-rw-r--r--tests/suite/styling/show-text.typ12
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/ref/show-text-in-citation.png b/tests/ref/show-text-in-citation.png
new file mode 100644
index 00000000..392487bc
--- /dev/null
+++ b/tests/ref/show-text-in-citation.png
Binary files differ
diff --git a/tests/suite/styling/show-text.typ b/tests/suite/styling/show-text.typ
index 4e031648..af45127c 100644
--- a/tests/suite/styling/show-text.typ
+++ b/tests/suite/styling/show-text.typ
@@ -162,6 +162,18 @@ hi
#show bibliography: none
#bibliography("/assets/bib/works.bib")
+--- show-text-in-citation ---
+#show "A": "B"
+#show "[": "("
+#show "]": ")"
+#show "[2]": set text(red)
+
+@netwok A \
+@arrgh B
+
+#show bibliography: none
+#bibliography("/assets/bib/works.bib")
+
--- show-text-linebreak ---
#show "lo\nwo": set text(red)
Hello #[ ] \