-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Jinja language family syntax support #7233
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Could you resolve the conflicts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the long run I think we'll want a way to detect the language that is being templated. Jinja2 is usually used for HTML but you can use it for any kind of template so usually I see filename.<ext>.j2
where <ext>
is html
, js
, etc. depending on the language being templated. Ideally we would inject that language but that can be left for future work.
Thank you so much for this. Now the only language I'm missing is pugjs :) |
* feat: add jinja language support * feat: add nunjucks language support * feat: add to lang support book jinja and nunjucks languages
* feat: add jinja language support * feat: add nunjucks language support * feat: add to lang support book jinja and nunjucks languages
* feat: add jinja language support * feat: add nunjucks language support * feat: add to lang support book jinja and nunjucks languages
Add jinja grammar for nunjuncks and jinja languages.