-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
Proper file extension for templates for plugin integration? #457
Comments
Thanks for the thorough issue! I actually do the same and use It might also be useful to allow |
@josefrcm assuming the merged solution solves your problem, then the issue is now resolved. If you want to try it out before a new version is published, then you can do so, by changing your [dependencies]
askama = { git = "https://github.com/djc/askama", rev = "7b954cd78800b8730401c4471f2289e2d990444f" } |
@vallentin I just tested your solution and it works perfectly, thank you so much for the quick response 😀 |
@josefrcm no problem, happy I could help 😄 |
First of all, let me congratulate you for your work. I'm developing an application with Askama and Rocket, and I'm very happy with the results. However, I recently hit an interesting bump. This was using VS Code as my development environment:
.html
extension..html.j2
and use a Jinja2 plugin (no Askama plugin seems to exist), and lo and behold, it worked perfectly. Syntax highlighting and proper formatting. The code compiles and runs flawlessly, but....html.j2
is not recognized, so it just returns an empty response! No error message, no nothing, just a totally blank page.So my question is, how can we fix this? I have a couple ideas:
The text was updated successfully, but these errors were encountered: