Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Control over indentation with the |json filter #192
Hi there, I use askama to great effect with the
When I use the
Can the filter function be configured to do that?
To answer your question more directly: no, you cannot, but based on this single request I don't think I want to change stuff built-in to Askama if the user-defined filter provides good (possibly better? -- you can do an actual YAML filter) cover for your needs.
Also I'd be okay with having an optional