Skip to content

HeadingSectionParts

Unofficial

A note’s text split around one heading’s section, as obsidian#FileManager.insertIntoHeadingSection reads it.

Concatenating before, heading, content and after gives the original text.

Import:

import type { HeadingSectionParts } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface HeadingSectionParts

Properties

PropertyTypeDescription
afterstringThe text after the section.
beforestringThe text before the heading.
contentstringThe section's text below the heading line.
headingstringThe heading line.