RenderLezerHtmlOptions
Options of renderLezerHtml.
Import:
import type { RenderLezerHtmlOptions } from '@mnaoumov/obsidian-markdown-parser';Signature:
export interface RenderLezerHtmlOptionsProperties
| Property | Type | Description |
|---|---|---|
| autolink? | ObsidianQuirkFlags['autolink'] | undefined | Which autolinks there are (see ObsidianQuirkFlags): where an Obsidian autolink links to, and what it shows. |
| characterReference? | ObsidianQuirkFlags['characterReference'] | undefined | How a character reference is decoded (see ObsidianQuirkFlags): Obsidian's references need no ;. |
| gfmTable? | ObsidianQuirkFlags['gfmTable'] | undefined | How 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'] | undefined | When a list is loose (see ObsidianQuirkFlags). The tree does not say, so the renderer applies the quirk. |
| tagFilter? | boolean | Whether to apply GFM's tag filter, which disarms raw HTML tags such as <script> by escaping their <. |
Links to this page: