pub fn resolve_path_from_id(
within: FileId,
path: &str,
) -> HintedStrResult<RootedPath>Expand description
Resolves a Typst path string relative to a file id.
This delegates to Typst’s own [PathOrStr::resolve] implementation so
callers keep the same relative-path, absolute-path, normalization, and
escaping semantics as Typst evaluation.