diff options
Diffstat (limited to 'tests/typ/code/repr.typ')
| -rw-r--r-- | tests/typ/code/repr.typ | 15 |
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} \ |
