syntax-tree/mdast

Use separate constructs for flow, text html: `htmlFlow`, `htmlText`

wooorm opened this issue · 2 comments

Subject of the feature

It’s funky that we use one for html, but two for code. As they’re such different things, that should be reflected in their types.

Problem

Confusing whether something is text (“inline”) or flow (“block”).

Expected behavior

No confusion.

Closing for now. It isn’t perfect. At some point it can be improved. For now, it might just wrak havoc...

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.