Skip to content

toFrontmatterLinkCacheWithOffsets

Converts a frontmatter link cache to a frontmatter link cache with offsets.

Import:

import { toFrontmatterLinkCacheWithOffsets } from 'obsidian-dev-utils/obsidian/frontmatter-link-cache-with-offsets';

Signature:

function toFrontmatterLinkCacheWithOffsets(reference: FrontmatterLinkCache): FrontmatterLinkCacheWithOffsets

Parameters:

ParameterTypeDescription
referenceFrontmatterLinkCacheThe reference to convert.

Returns: FrontmatterLinkCacheWithOffsets — The converted reference.