Skip to content

HeadingCache

Official

The cache of the heading in the note.

markdown # foo ## bar ### baz

Import:

import type { HeadingCache } from 'obsidian';

Signature:

export interface HeadingCache extends CacheItem

Extends: CacheItem

Properties

PropertyTypeDescription
headingstringThe heading text.
levelnumberNumber between 1 and 6.
positionPosPosition of this item in the note.
(Inherited from CacheItem)

Links to this page: