mirror of
https://github.com/typst/typst
synced 2025-07-27 06:17:53 +08:00
Update doc
This commit is contained in:
parent
2cd6c13be3
commit
e38ce05f6c
@ -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`:
|
||||
|
Loading…
x
Reference in New Issue
Block a user