Typst Fumadocs

Evaluate

Documentation for the `eval` function.

Evaluates a string as Typst code.

This function should only be used as a last resort.

Example

Loading compiler...
#eval(
  source,
  mode: str,
  scope: dictionary
) -> any

Parameters

Prop

Type

On this page