More explicit assert with hamjest [this is a draft]
An undone blog post - More explicit assert with hamjest
An undone blog post - More explicit assert with hamjest
Sometimes I stumble over commenting out a part in my JSX template. And I am always again looking for how to do that {#
or {--
or what do I know.
ADR is a way to document decisions, reminds me of python's PEP.
-%}
for, in a Jinja Template? or The Magic Dash in a Jinja Template Block
What the heck does -%}
mean in a Jinja template?
TL;DR: It removes whitespaces inside a block. The offical docs say it "strip[s] whitespace in templates [...] add a minus sign (-) to the start or end of a block", so {%-
at the end of the block works too, but you better play with around with it to really understand it the dash is quite flexible.