summaryrefslogtreecommitdiff
path: root/tests/typ/code/repr.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-04 22:14:57 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-04 22:14:57 +0200
commite674fd7e909c273c36952f01829544a2efc11c92 (patch)
treec74218ce4a546de06b28aad2f73ba460338252b7 /tests/typ/code/repr.typ
parent75472fee1a2377f56551fc856cf7511bd55091f0 (diff)
New raw theme & nicer debug representation
Diffstat (limited to 'tests/typ/code/repr.typ')
-rw-r--r--tests/typ/code/repr.typ15
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/typ/code/repr.typ b/tests/typ/code/repr.typ
index 8742f413..4d7a6cd5 100644
--- a/tests/typ/code/repr.typ
+++ b/tests/typ/code/repr.typ
@@ -25,23 +25,24 @@
{2.3fr}
---
-// Colors.
-#rgb("f7a20500") \
-{2pt + rgb("f7a20500")}
+// Colors and strokes.
+#set text(0.8em)
+#rgb("f7a205") \
+{2pt + rgb("f7a205")}
---
// Strings and escaping.
-#repr("hi") \
+#raw(repr("hi"), lang: "typc") \
#repr("a\n[]\"\u{1F680}string")
---
// Content.
-#repr[*{"H" + "i"} there*]
+#raw(repr[*{"H" + "i"} there*])
---
// Functions
#let f(x) = x
-{() => none} \
{f} \
-{rect}
+{rect} \
+{() => none} \