pypugjs
pypugjs copied to clipboard
Support for {% with %} extension in jinja
- pypugjs version: 5.9.12
- Django version: -
- Python version: 3.8.10
- Operating System: Ubuntu
Description
cannot convert with
extension from jinja
PUG File
with message=get_flashed_messages()
Expected Output
{% with messages = get_flashed_messages() %}
Actual Output
<with>message=get_flashed_messages()</with>
Hi @sibeduli , you are welcome to add a pull request for this feature! But in my last years of coding template logic i have very rarely used with and dont see a big need here.