Open wjharney opened 3 months ago
Yes, I'm aware of this, and it depends on the position of the js code in the HTML:
And as an extra annoying case, if it's inside an attribute and it has quotes, the highlighting interprets these quotes as the end of the attribute:
Unfortunately, I'm not an expert creating VSCode plugins. If anyone want to help with this, I'd appreciate.
For
<a {{ if foo == bar }}attribute{{ /if }}>
:==
is two colorsbar
is not the same color asfoo
/if
is not the same color as/if
Ideally, both parts of each pair should match.Also notable, but less distracting, the colors used within an HTML tag do not match the colors used for regular content, particularly the content within the if block (
attribute
).