Simon Willison: TILs on jinja

jinja Formatting thousands in Jinja - 2022-06-08

Here's how to format a number in Jinja with commas for thousands, without needing any custom filters or template functions: …

jinja Turning on Jinja autoescaping when using Template() directly - 2020-09-18

Jinja autoescaping is turned off by default. Coming from Django this frequently catches me out. …