Closed mariusGundersen closed 5 years ago
@mariusGundersen sorry i didn't answer this more early. So the syntax colors for the html function is governed by your color scheme the extension treats html as a normal typescript/javascript function then anything between the tilde ` as html. the tilde symbol itself is treated as a string.
So altering how those are treated would result in a maybe unpleasant experience for users who expect things to behave normally.
Closing this as it works are intended (by design).
Actually, I am reopening this as i can definitely see what you're describing now.
@mariusGundersen So I published a new version, would you give it a try and tell me if the problem persists. I guess now the extension should correctly color the tokens as follows
closing this as issue seems to be fixed, requester confirmation wasn't received. Feel free to reopen.
I have a small suggestion for a feature: show the syntax highlighted html with a slightly different background color, to make it clearer where the html string starts and stops. Not sure if this is possible though?