-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect syntax coloring in /- comment of first example #41
Comments
ah yes, thanks for filing an actual issue. I knew about this, but I haven't figured out how to work around it yet. Closing in favor of kdl-org/vscode-kdl#18 |
I guess if properly fixing this is hard, as a workaround you could do manual coloring (by embedding raw html into md) - or not use syntax coloring at all there. Otherwise this can lead to confusion, I think. Especially as this example is the first thing people see on kdl.dev - at least I wasn't 100% sure if this is a bug or if I just misunderstood something. |
I think it's possible. I'm not sure it's hard per-se, rather "I don't actually know how to do this in TextMate grammars", and those grammars are... actually kinda weird and tricky sometimes. I'd like this to be properly fixed rather than fall back to manually putzing around with the html. |
makes sense :) |
At least on my system (with current Firefox), it looks like this:
shouldn't the second
}
also be greyed out, as it's (to my understanding, which is just from looking at the examples ;)) part of the commented out nodeThe text was updated successfully, but these errors were encountered: