Skip to content

metadata/types

The CachedMetadata the metadata worker posts for a document, with the names and shapes Obsidian’s API gives it. Every object’s keys are in the order the worker writes them, so the metadata compares with the worker’s as JSON.

Interface Description
BlockCache A block with a block id.
CachedMetadata The metadata of a document.
CacheItem The fields every listed item has.
FootnoteCache A footnote definition, or the content of an inline footnote.
FootnoteReferenceCache A footnote reference.
FrontmatterLinkCache An internal link in a string value of the front matter.
HeadingCache A heading.
ListItemCache A list item.
Loc A point in the document.
Pos Where an item is.
ReferenceCache An internal link or an embed.
ReferenceLinkCache A link reference definition.
SectionCache A block of the document.
TagCache A tag.
Type Description
EmbedCache An embed.
FrontMatterCache The front matter, as the YAML parser gives it: an object, or another value of typeof object that is no array.
LinkCache An internal link.