mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
- Identifiers are now evaluated as variables instead of being plain values - Constants like `left` or `bold` are stored as dynamic values containing the respective rust types - We now distinguish between arrays and dictionaries to make things more intuitive (at the cost of a bit more complex parsing) - Spans were removed from collections (arrays, dictionaries), function arguments still have spans for the top-level values to enable good diagnostics
Tests
typ
: Input files.ref
: Reference images which the output is compared with to determine whether a test passed or failed. To keep things small, please runoxipng -o max tests/ref/<img>
when creating or updating reference images (note that<img>
can be*
to optimize all images).res
: Resource files used by tests.out
: PNG and PDF files produced by tests.