I didn’t feel like these questions/requests/nitpicks deserve to be individual Github issues, so I’ll ask them here:
Are highlighting tags that are ‘children’ of other tags supposed to cascade their styles?
I ask this because if you were to style
t.content, afaik that rule will not style
t.emphasisunless there is no style given for
t.emphasis. I feel conflicted about this behavior, but at the same time I also like the ability to give specificity within a theme.
In the Markdown grammar, shouldn’t all plain text be given the
t.contenttag? Currently, this doesn’t appear to be the case. Perhaps a “default scope” could be provided for a grammar?
More of a request: Maybe there should be a specific highlighting tag for HTML/XML node tags? This is seen in quite a few other editors, and I personally prefer having a separate color for “types” (like in TS) and “tags” (like in HTML or generic markup).