-
Notifications
You must be signed in to change notification settings - Fork 13
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
Nunjucks should have priority over HTML #21
Comments
Hey @code-tree thanks for the suggestion. I need to ask a clarifying question before making any conclusions or changes. Here's what I'm interpreting from your comment: You would prefer that nunjucks inserted as html attributes be visually different from other, non-nunjucks html attributes. In other words, using your example, you want |
Yes, that's correct to both. As currently, it seems as though the value in I assume this is just a matter of giving nunjucks grammar priority over the html grammar, but I wasn't sure how to do that. |
Looking into this today. |
Syntax highlighting doesn't work when brackets are inside an opening tag or its attributes.
(nunjucks syntax is highlighted as red)
The text was updated successfully, but these errors were encountered: