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-public-latest';Signature:
export interface HeadingSectionPartsProperties
| Property | Type | Description | |
|---|---|---|---|
| after | string | The text after the section. | |
| before | string | The text before the heading. | |
| content | string | The section's text below the heading line. | |
| heading | string | The heading line. |