Features merged : JINJA support #66
tbarbette
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
%script
and%file
section now support Jinja syntax! You just have to addjinja
as the first argument after the section, see an example below.The documentation is also available (crazy right?) at https://npf.readthedocs.io/en/latest/jinja.html
This should replace the practice of using embedded python
$(( ))
.An example would be :
Check the doc for more examples. Note that the usual $TERMINAL replacement stays available out of jinja contexts.
Beta Was this translation helpful? Give feedback.
All reactions