Skip to content

resolveSubpath

Code location

resolveSubpath(cache, subpath): HeadingSubpathResult | BlockSubpathResult | FootnoteSubpathResult | null

Resolve the given subpath to a reference in the MetadataCache.

Parameters

cache: CachedMetadata

subpath: string

Returns

HeadingSubpathResult | BlockSubpathResult | FootnoteSubpathResult | null