Skip to content

ParseCacheOptions

Options for the parsing performed by getCacheSafe and parseMetadata beyond Obsidian’s native metadata parsing. Each option is opt-in; enabling it adds the corresponding CachedMetadataExFeature and populates the matching links array.

Import:

import type { ParseCacheOptions } from 'obsidian-dev-utils/obsidian/metadata-cache';

Signature:

export interface ParseCacheOptions

Properties

PropertyTypeDescription
shouldParseExternalLinks?booleanWhether to parse the external links from the note content body.
shouldParseFrontmatterExternalLinks?booleanWhether to parse the external links from single-link (single-value) note frontmatter values.
shouldParseMultiValueFrontmatterExternalLinks?booleanWhether to parse the external links from multi-link (multi-value) note frontmatter values.
shouldParseMultiValueFrontmatterLinks?booleanWhether to parse the internal links from multi-link (multi-value) note frontmatter values.

Links to this page: