{% macro render_chunk(chunk) %}
{% if chunk.type == 'paragraph' %}
{{ chunk.paragraph | markdown }}
{% elif chunk.type == 'node' %}
{% for child in chunk.children %}
{{ render_chunk(child) }}
{% endfor %}
{% endif %}
{% endmacro %}
{{ render_chunk(slide.chunk) }}