From e38ce05f6c38d8c1ab450bf4cdc3aab04f6a90c6 Mon Sep 17 00:00:00 2001 From: Laurenz Stampfl Date: Tue, 22 Jul 2025 11:55:12 +0200 Subject: [PATCH] Update doc --- crates/typst-library/src/visualize/image/mod.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/typst-library/src/visualize/image/mod.rs b/crates/typst-library/src/visualize/image/mod.rs index ec31e7a84..d53af25b6 100644 --- a/crates/typst-library/src/visualize/image/mod.rs +++ b/crates/typst-library/src/visualize/image/mod.rs @@ -83,9 +83,8 @@ pub struct ImageElem { /// [`source`]($image.source) (even then, Typst will try to figure out the /// format automatically, but that's not always possible). /// - /// Supported formats are `{"png"}`, `{"jpg"}`, `{"gif"}`, `{"svg"}`, - /// `{"webp"}` as well as raw pixel data. Embedding PDFs as images is - /// [not currently supported](https://github.com/typst/typst/issues/145). + /// Supported formats are `{"png"}`, `{"jpg"}`, `{"gif"}`, `{"svg"}`, `{"pdf"}`, + /// `{"webp"}` as well as raw pixel data. /// /// When providing raw pixel data as the `source`, you must specify a /// dictionary with the following keys as the `format`: