Skip to content

RemarkHeading

A heading.

Import:

import type { RemarkHeading } from '@mnaoumov/obsidian-markdown-parser';

Signature:

export interface RemarkHeading extends RemarkParentBase<'heading'>

Extends: RemarkParentBase<‘heading’>

Properties

PropertyTypeDescription
childrenRemarkNode[]The children.
(Inherited from RemarkParentBase)
depthnumberThe level, 1 to 6.
id?stringThe block id attached to it: on a block of the document and a list item, the id of a RemarkBlockId in it.
(Inherited from RemarkParentBase)
position?RemarkPositionWhere it is in the document.
(Inherited from RemarkParentBase)
type'heading'The node type.
(Inherited from RemarkParentBase)

Links to this page: