Skip to content

RemarkListItem

A list item.

Import:

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

Signature:

export interface RemarkListItem extends RemarkParentBase<'listItem'>

Extends: RemarkParentBase<‘listItem’>

Properties

PropertyTypeDescription
checkedboolean | nullFor a task, whether its character is not a space; null for an item that is no task.
checklistnull | stringFor a task, the character between its brackets; null for an item that is no task. Obsidian keeps any character.
childrenRemarkNode[]The children.
(Inherited from RemarkParentBase)
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)
spreadbooleanWhether a blank line separates two of its blocks.
type'listItem'The node type.
(Inherited from RemarkParentBase)

Links to this page: