{% endif %}
{%- endmacro %}
{# A shell command with each argument in its own box, so a narrow column
wraps between arguments and never inside one ('splent-io/...' breaks at
its hyphen as plain text). An argument with a slash is two boxes, up to
and after the last slash, so one too long for the line breaks after the
slash. The store skin styles .store-cmd. #}
{% macro command(text) -%}
{% for arg in text.split() %}{% if "/" in arg and not arg.endswith("/") %}{% set head = arg.rsplit("/", 1)[0] ~ "/" %}{{ head }}{{ arg[head | length:] }}{% else %}{{ arg }}{% endif %}{% if not loop.last %} {% endif %}{% endfor %}
{%- endmacro %}