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

Property Type Description
heading string The heading text.
level number Number between 1 and 6.
position Pos Position of this item in the note.
(Inherited from CacheItem)

Links to this page: