System
Module for system interactions.
This module defines the following items:
-
The
sys.versionconstant (of typeversion) that specifies the currently active Typst compiler version. -
The
sys.inputsdictionary, which makes external inputs available to the project. An input specified in the command line as--input key=valuebecomes available undersys.inputs.keyas"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.