Crate typst_shim

Source
Expand description

§typst-shim

Modules§

eval
Typst Evaluation
syntax
Typst Syntax
utils
Typst utils

Macros§

cfg_if
The main macro provided by this crate. See crate documentation for more information.

Statics§

SYNTAX_ONLY
Global flag indicating whether syntax-only mode is enabled.

Functions§

compile_opt
Compile the document if syntax-only mode is disabled; otherwise, return an error.
is_syntax_only
Check if syntax-only mode is enabled.