Info
This site is generated using the static site generator developed by the Typst Community. Please adjust the text content of this banner according to your usage requirements. At Typst GmbH's request, when publishing documentation, you must clearly indicate that it is non-official and display the version of Typst being documented. For details, refer to Issue #874 on typst/typst.
TypstDocumentEnglish
v0.dev.2025-09-12

System

Module for system interactions.

This module defines the following items:

  • The sys.version constant (of type version) that specifies the currently active Typst compiler version.

  • The sys.inputs dictionary, which 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.

Open official docs

Search