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

Property Type Description
displayText? string Display text of the link.
(Inherited from Reference)
link string Link destination.
(Inherited from Reference)
original string Contains the text as it's written in the document. Not available on Publish.
(Inherited from Reference)
position Pos Position of this item in the note.
(Inherited from CacheItem)

Links to this page: