Ben Cook
Ben Cook
@joshtronic Here is an example for jinja that you can modify: ``` python from jinja2 import Environment, FileSystemLoader template_dir = './' # or 'templates', etc. env = Environment(loader=FileSystemLoader(template_dir), extensions=['pyjade.ext.jinja.PyJadeExtension']) def...
I like this idea, especially since the Jade team is approaching their [2.0.0 milestone](https://github.com/jadejs/jade/issues/1834) and has generally feature-frozen v1.
Yup, just like that should work! I'm using pyjade with django and have lots of elements using django tags: ``` jade link(rel="stylesheet", href="{% static 'x.css' %}") form(action="{% url 'buy:pay' %}")...
Good point. But I don't believe there's a direct translation. `- load crispy_forms` works because it's a line statement in pyjade, but without some kind of delimiter pyjade can't parse...