Skip to content

RemarkObsidianCommentBlock

A comment block, from a line opening with %% to the next %%. The text is tokenized as inline content too, from the block’s start, as Obsidian reads it.

Import:

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

Signature:

export interface RemarkObsidianCommentBlock extends RemarkParentBase<'obsidianCommentBlock'>

Extends: RemarkParentBase<‘obsidianCommentBlock’>

Properties

PropertyTypeDescription
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)
type'obsidianCommentBlock'The node type.
(Inherited from RemarkParentBase)
valuestringThe text between the delimiters.

Links to this page: