Skip to content

ParseRemarkOptions

The options of parseRemark.

Import:

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

Signature:

export interface ParseRemarkOptions

Properties

PropertyTypeDescription
shouldReadObsidianSyntax?booleanWhether the Obsidian syntax is read: front matter, internal links and embeds, tags, comments, math, highlights, footnotes with inline notes, and block ids. Without it, the engine is remark-parse 8 with Obsidian's edits to three of its tokenizers alone. Defaults to true.
shouldReadSoftLineBreaksAsHard?booleanWhether every line break in inline content is a hard one, as the metadata worker reads them: Obsidian's breaks option, which turns a line feed after any spaces into a break. Defaults to false, remark-parse 8's strict line breaks.

Links to this page: