
Jinja — Jinja Documentation (3.1.x)
Jinja is a fast, expressive, extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. Then the template is passed data to render the …
Template Designer Documentation — Jinja Documentation (3.1.x)
A Jinja template is simply a text file. Jinja can generate any text-based format (HTML, XML, CSV, LaTeX, etc.). A Jinja template doesn’t need to have a specific extension: .html, .xml, or any …
Introduction — Jinja Documentation (3.1.x) - Pallets
Jinja is a fast, expressive, extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. Then the template is passed data to render the …
API — Jinja Documentation (3.1.x) - Pallets
This document describes the API to Jinja and not the template language (for that, see Template Designer Documentation). It will be most useful as reference to those implementing the …
Switching From Other Template Engines — Jinja Documentation …
This is a brief guide on some of the differences between Jinja syntax and other template languages. See Template Designer Documentation for a comprehensive guide to Jinja syntax …
Tips and Tricks — Jinja Documentation (3.1.x) - Pallets
This part of the documentation shows some tips and tricks for Jinja templates. Null-Default Fallback¶ Jinja supports dynamic inheritance and does not distinguish between parent and …
Frequently Asked Questions — Jinja Documentation (3.1.x) - Pallets
Jinja is a general purpose template engine, it is not only used for HTML documents. You can generate plain text, LaTeX, emails, CSS, JavaScript, configuration files, etc. HTML escaping …
Integration — Jinja Documentation (3.1.x) - Pallets
The Flask web application framework, also maintained by Pallets, uses Jinja templates by default. Flask sets up a Jinja environment and template loader for you, and provides functions to easily …
Changes — Jinja Documentation (3.1.x) - Pallets
Dec 21, 2024 · Changed how Jinja enforces strings to be native strings in Python 2 to work when people break their default encoding. Added make_logging_undefined which returns an …
Sandbox — Jinja Documentation (3.1.x) - Pallets
The Jinja sandbox can be used to render untrusted templates. Access to attributes, method calls, operators, mutating data structures, and string formatting can be intercepted and prohibited. >>>