Module syntax

Module syntax 

Source
Expand description

Typst Syntax

Traits§

LinkedNodeExt
The LinkedNodeExt trait is designed for compatibility between new and old versions of typst.
RootedPathExt
The RootedPathExt trait is designed for compatibility between new and old versions of typst.
VirtualPathExt
The VirtualPathExt trait is designed for compatibility between new and old versions of typst.

Functions§

resolve_path_from_id
Resolves a Typst path string relative to a file id.
source_range
Get the byte range for a diagnostic span within a source file.