Skip to content

RenderLezerHtmlOptions

Options of renderLezerHtml.

Import:

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

Signature:

export interface RenderLezerHtmlOptions

Properties

PropertyTypeDescription
autolink?ObsidianQuirkFlags['autolink'] | undefinedWhich autolinks there are (see ObsidianQuirkFlags): where an Obsidian autolink links to, and what it shows.
characterReference?ObsidianQuirkFlags['characterReference'] | undefinedHow a character reference is decoded (see ObsidianQuirkFlags): Obsidian's references need no ;.
gfmTable?ObsidianQuirkFlags['gfmTable'] | undefinedHow a table is read (see ObsidianQuirkFlags): an Obsidian table's cells are its TableCell nodes, its columns its delimiter row's, and \| in its code spans keeps its backslash.
looseList?ObsidianQuirkFlags['looseList'] | undefinedWhen a list is loose (see ObsidianQuirkFlags). The tree does not say, so the renderer applies the quirk.
tagFilter?booleanWhether to apply GFM's tag filter, which disarms raw HTML tags such as <script> by escaping their <.

Links to this page: