Skip to main content

Module html_blocks

Module html_blocks 

Source
Expand description

HTML block parsing utilities.

Functions§

is_html_block_tag_name
Whether name (case-insensitive) is one of the HTML block-level tags recognized by CommonMark §4.6 type-6 (and pandoc’s markdown_in_html_blocks splitter). Used by the pandoc-native projector to decide whether a complete HTML tag inside an HTML_BLOCK should split the block — block-level tags emit as separate RawBlock entries; inline tags (e.g. <em>, <a>, <input>, <br>) stay inline in the surrounding Plain content.