Skip to content

ObsidianQuirkFlags.htmlBlock

ObsidianQuirkFlags › htmlBlock

Type: 'commonmark' | 'obsidian'

Which lines open an HTML block, and what ends it. CommonMark 0.31.2: its seven kinds. Obsidian: the first kind is <script>, <pre> and <style>, with no <textarea>; the sixth kind's tags have no search and add hgroup, meta, pre and source, so </pre> interrupts a paragraph; and the sixth and seventh kinds end at an empty line, not at a line of whitespace.