System
Module for system interactions.
Constants
versionversion0.9.0起可用
The currently active Typst compiler version.
展开示例
#sys.version

inputsdictionary0.11.0起可用
Makes external inputs available to the project.
An input specified in the command line as --input key=value becomes available under sys.inputs.key as "value". To include spaces in the value, it may be enclosed with single or double quotes.
The value is always of type string. More complex data may be parsed manually using functions like json.