{% endmacro %}
{% macro list_simple_array(entries, tag) %}
{% set tag = tag|default('li') %}
{% for line in entries %}
<{{ tag }}>{{ line|inlinemd }}{{ tag }}>
{% endfor %}
{% endmacro %}
{% macro list_link_array(entries, tag) %}
{% set tag = tag|default('li') %}
{% for link in entries %}
<{{ tag }}>{{ link }}{{ tag }}>
{% endfor %}
{% endmacro %}
{% macro list_entry_attribute(entries, attribute, tag) %}
{% set tag = tag|default('li') %}
{% for entry in entries %}
{% if attribute(entry, attribute)|length > 0 %}
{% for line in attribute(entry, attribute) %}
<{{ tag }}>{{ line|inlinemd }}{{ tag }}>
{% endfor %}
{% endif %}
{% endfor %}
{% endmacro %}
{% macro list_references(references) %}
{% for reference in references %}