Skip to content

RemarkYaml

Front matter, from a first line --- to the next line opening with ---.

Import:

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

Signature:

export interface RemarkYaml extends RemarkNodeBase<'yaml'>

Extends: RemarkNodeBase<‘yaml’>

Properties

PropertyTypeDescription
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 RemarkNodeBase)
position?RemarkPositionWhere it is in the document.
(Inherited from RemarkNodeBase)
type'yaml'The node type.
(Inherited from RemarkNodeBase)
valuestringThe lines between the delimiters.

Links to this page: