-
For a specific compatibility use case, I would be interested in MiniJinja supporting Python's `0b10101` (and, for consistency, `0xabcdef` and `0o1234`) integer literals. The relevant code seems easy e…
-
## Reproduction steps
Running the (Python) code
```python
import minijinja
env = minijinja.Environment(undefined_behavior="strict")
print(env.render_str("""
{% macro collapsible(title) -%}…
-
On the way to MiniJinja 2 we lost `Value::from_iterator`.
-
Apologies if this is already supported and I've overlooked it.
With include enabled, it seems you can include templates from any path, for example, `../secrets.txt`.
Is there interest in providi…
-
With MiniJinja 2.0 it should become possible to separate out iterators properly from sequences.
* Introduce `ObjectRepr::Iterator`
* Introduce `ValueKind::Iterator`
Relates to:
* #457
-
tbd, check what we need now and in the future
## Options
- https://github.com/djc/askama
- https://github.com/mitsuhiko/minijinja
- https://github.com/keats/tera
- https://github.com/sunng87/…
-
According to [Github tags](https://github.com/mitsuhiko/minijinja/tags) and [Releases](https://github.com/mitsuhiko/minijinja/releases), 1.0.15 and 1.0.16 seem like they're out, but it looks like they…
-
## Description
I'm not sure if this is considered a "bug" or not, but it definitely doesn't match what I expected or what I want.
Here's the practical use case:
- I've got a `Bookmark` stru…
-
Hello all,
I am using `minijinja` to implement chat templating for LLMs. However, some templates call the `.strip()` method and I cannot find a way to inject this object. Is this possible to do? Th…
-
IIUC, right now, all template rendering functionality takes the context as `**kwargs`. This leads to at least two not-so-desirable outcomes:
- The namespace between arguments to the rendering funct…