micromarkQuirksHtml
The micromark HTML extension for the quirks: a list the looseList quirk made loose renders loose, a character reference or an autolink a quirk read renders as Obsidian reads it, and a table the gfmTable quirk read keeps the escapes of its code spans and has its header row cut or padded to its columns, so it goes after gfmTableHtml. The compiler decides whether a list is loose, so its list handlers are replaced by ones that also read the quirk’s mark. Without the quirks, it renders as the compiler does.
Import:
import { micromarkQuirksHtml } from '@mnaoumov/obsidian-markdown-parser';Signature:
const micromarkQuirksHtml: HtmlExtensionType: HtmlExtension