The tree the remark-parse 8 engine gives: mdast as remark-parse 8.0.3 builds it, with the fields Obsidian’s edits to its blockquote, list and table tokenizers add, and the nodes of the Obsidian syntax. Those take the names src/syntax/unified/mdast.ts gives them where the shapes agree.
| Interface |
Description |
| RemarkBlockId |
A block id, ^id. One that ends a block is attached to it as its RemarkNodeBase.id. |
| RemarkBlockquote |
A blockquote, with the callout Obsidian reads off its first line. |
| RemarkCallout |
The callout header [!type|data]+ Obsidian reads off a blockquote’s first line. |
| RemarkCode |
Fenced or indented code. |
| RemarkDefinition |
A link reference definition. |
| RemarkFootnoteDefinition |
A footnote definition, [^label]: content. |
| RemarkFootnoteReference |
A footnote reference, [^label], to a definition the document holds. |
| RemarkHeading |
A heading. |
| RemarkHighlight |
A highlight, ==text==. |
| RemarkHtml |
Raw HTML, a block or inline. |
| RemarkImage |
An image. |
| RemarkImageReference |
An image reference. |
| RemarkInlineCode |
Inline code. |
| RemarkInlineMath |
Inline math, $tex$, or $$tex$$ inside a paragraph. |
| RemarkInternalLinkBase |
The fields of an internal link and an embed. |
| RemarkLink |
A link. |
| RemarkLinkReference |
A link reference. |
| RemarkList |
A list. |
| RemarkListItem |
A list item. |
| RemarkMath |
A math block, $$ lines. |
| RemarkNodeBase |
The fields every node has. |
| RemarkObsidianComment |
An inline comment, %%text%%. The text is tokenized as inline content too, as Obsidian reads it. |
| 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. |
| RemarkParentBase |
The fields every node with children has. |
| RemarkPoint |
A point in the document. |
| RemarkPosition |
Where a node is: its start, its end, and the column each of its later lines starts at. |
| RemarkTable |
A table. |
| RemarkTableCell |
A table cell, with the whitespace Obsidian’s table tokenizer measures around its content. |
| RemarkTableCellPadding |
The spaces and tabs around a table cell’s content. |
| RemarkTag |
A tag, #name. |
| RemarkText |
Text. |
| RemarkYaml |
Front matter, from a first line --- to the next line opening with ---. |