Skip to content

CachedMetadata

The metadata of a document.

Import:

import type { CachedMetadata } from '@mnaoumov/obsidian-markdown-parser';

Signature:

export interface CachedMetadata

Properties

PropertyTypeDescription
blocks?Readonly<Record<string, BlockCache>>The block ids, by lowercased id.
embeds?readonly EmbedCache[]The embeds: ![[target]], and images whose destination is no URL.
footnoteRefs?readonly FootnoteReferenceCache[]The footnote references to a definition, and inline footnotes with no content.
footnotes?readonly FootnoteCache[]The footnote definitions, and the content of inline footnotes.
frontmatter?FrontMatterCacheThe front matter, parsed as YAML, when it parses to an object.
frontmatterLinks?readonly FrontmatterLinkCache[]The internal links in the front matter's string values.
frontmatterPosition?PosWhere the front matter is, when it parses to an object.
headings?readonly HeadingCache[]The headings of the document, outside quotes, lists and footnotes.
links?readonly LinkCache[]The internal links: [[target]], and links whose destination is no URL.
listItems?readonly ListItemCache[]The list items.
referenceLinks?readonly ReferenceLinkCache[]The link reference definitions.
sections?readonly SectionCache[]The blocks of the document, and the footnotes section after them when it holds a footnote.
tags?readonly TagCache[]The tags.
v?numberThe worker's format version, 1, which the worker posts on every document from Obsidian 1.15.1 on.

Links to this page: