pub fn parse_html_block_start(trimmed: &str) -> Option<(String, bool)>Expand description
If trimmed (a line with leading whitespace already stripped) opens an
HTML block per rumdl’s parser, return the lowercased tag name and whether
it is a closing tag. Returns None for text, autolinks, and inline-level
tags (<span>, <b>, …), which cannot interrupt a paragraph.
The tag name has to end the way CommonMark’s start conditions require:
whitespace, the end of the line, > or /> may follow it, so <div.class>
or <p, is text that happens to begin with a block element’s name.