Allow folding html tags with blank new lines
Tracks enabling folding of html in markdown such as:
<details>
Some text
</details>
This is currently not foldable because it is (correctly) tokenized to two html elements instead of a single html block
This is currently not foldable because it is (correctly) tokenized to two html elements instead of a single html block
Oh, interesting: yeah, it looks like that tokenizer represents the structure with the help of the nesting and level attributes? I do see a single HTML node in the rendered DOM:

Although, this makes me a little suspicious of the token stream:
<details>
<details>
some text
</details>
</details>
does get rendered as I'd expect:

but I can't see a way from the tokens to determine that the second <details> is inside of the first <details> (they both have level/nesting 0).