Optionalopts: { bundleChrooted?: boolean; corpusRoot?: null | string; currentFile?: string }OptionalbundleChrooted?: booleanSee LinkSpace.bundleChrooted. Under a bundle-chroot'd grant $fs:
resolves in the corpus space, because they are the same space.
OptionalcorpusRoot?: null | stringOptionalcurrentFile?: string
Resolve a raw link target (a wikilink target or an in-app href's path half — fragment already split off) to an absolute filesystem path. THE shared resolver: the default
WikiLink, the markdownaoverride, and safe-content consumers all route through this one function so the two render pipelines cannot drift.