Skip to content

fixFrontmatterMarkdownLinks

Fixes the frontmatter markdown links in the provided metadata cache.

Import:

import { fixFrontmatterMarkdownLinks } from 'obsidian-dev-utils/obsidian/link';

Signature:

function fixFrontmatterMarkdownLinks(cache: CachedMetadata): boolean

Parameters:

ParameterTypeDescription
cacheCachedMetadataThe metadata cache to fix the frontmatter markdown links in.

Returns: boolean — Whether the frontmatter markdown links were fixed.