Feature Request: Python-style array slice notation in jinja-compat mode
Feature Request: Python-style array slice notation in jinja-compat mode: a task in LegoFlow-SWE (Harbor dataset). Background : Nunjucks currently does not support Python-style slice notation for arrays, a feature frequently used in Jinja2 templates. Users coming from Jinja2 expect to be able to…
The task
**Background**: Nunjucks currently does not support Python-style slice notation for arrays, a feature frequently used in Jinja2 templates. Users coming from Jinja2 expect to be able to write expressions like `arr[0:4]`, `arr[::2]`, or `arr[::-1]` inside their templates, but nunjucks throws an error or produces…
Part of Lego-X/LegoFlow-SWE.