Skip to content

toFrontmatterLinkCacheWithOffsets

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

Import:

import { toFrontmatterLinkCacheWithOffsets } from '@mnaoumov/obsidian-lib/frontmatter-link-cache-with-offsets';

Signature:

function toFrontmatterLinkCacheWithOffsets(reference: FrontmatterLinkCache): FrontmatterLinkCacheWithOffsets

Parameters:

Parameter Type Description
reference FrontmatterLinkCache The reference to convert.

Returns: FrontmatterLinkCacheWithOffsets — The converted reference.