mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
- No colon between function name and arguments, just whitespace - "Named" arguments (previously "keyword" arguments) use colon instead of equals sign
9 lines
157 B
XML
9 lines
157 B
XML
// Test loading different image formats.
|
|
|
|
// Load an RGBA PNG image.
|
|
[image "res/rhino.png"]
|
|
[pagebreak]
|
|
|
|
// Load an RGB JPEG image.
|
|
[image "res/tiger.jpg"]
|