11 lines
206 B
Plaintext
11 lines
206 B
Plaintext
|
#
|
||
|
# Collection of common macros
|
||
|
|
||
|
{%- macro format_kwargs(kwarg) -%}
|
||
|
{%- filter indent(4) %}
|
||
|
{%- for k, v in kwarg|dictsort() %}
|
||
|
- {{ k }}: {{ v }}
|
||
|
{%- endfor %}
|
||
|
{%- endfilter %}
|
||
|
{%- endmacro %}
|