summaryrefslogtreecommitdiff
path: root/test/svg/typst-image.typ
diff options
context:
space:
mode:
Diffstat (limited to 'test/svg/typst-image.typ')
-rw-r--r--test/svg/typst-image.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/svg/typst-image.typ b/test/svg/typst-image.typ
new file mode 100644
index 0000000..2c88207
--- /dev/null
+++ b/test/svg/typst-image.typ
@@ -0,0 +1,6 @@
+// An SVG placed by Typst: an <image> with the document as a data URI.
+#set page(width: auto, height: auto, margin: 6pt, fill: none)
+#stack(dir: ltr, spacing: 8pt,
+ image("use.svg", width: 120pt),
+ image("gradients.svg", width: 80pt, height: 60pt, fit: "stretch"),
+)