You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
mjbvz
added
the
bug
Issue identified by VS Code Team member as probable bug
label
Dec 6, 2023
Tracks enabling folding of html in markdown such as:
This is currently not foldable because it is (correctly) tokenized to two html elements instead of a single html block
The text was updated successfully, but these errors were encountered: