Skip to content

ReferenceCache

Official

A reference to a link.

Import:

import type { ReferenceCache } from 'obsidian';

Signature:

export interface ReferenceCache extends Reference, CacheItem

Extends: Reference, CacheItem

Properties

PropertyTypeDescription
displayText?stringDisplay text of the link.
(Inherited from Reference)
linkstringLink destination.
(Inherited from Reference)
originalstringContains the text as it's written in the document. Not available on Publish.
(Inherited from Reference)
positionPosPosition of this item in the note.
(Inherited from CacheItem)

Links to this page: