I'm having a hard time understanding how some of the Jinja directives are working. In order to run a few tests (and, eventually, share the results, jsfiddle style), I'd really appreciate to have some online parser, but couldn't find anything on the Web.
Does it even exist ?
from_string . Jinja 2 provides a Template class that can be used to do the same, but with optional additional configuration. Jinja 1 performed automatic conversion of bytes in a given encoding into unicode objects.
Jinja is similar to the Django template engine but provides Python-like expressions while ensuring that the templates are evaluated in a sandbox. It is a text-based template language and thus can be used to generate any markup as well as source code.
I ended up with building one myself. It's available on Github, and here is how it looks like:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With