Render Markdown in Liquid For Loop
»Flat design vector concept« von Shutterstock

Jekyll Code Schnipsel

Render Markdown in Liquid For Loop

YAML Front Matter

additional_sidebar:
- editorial-extra.md
- editorial-extra-2.md

For Loop spitting out the sidebar

{% for sidebar in page.additional_sidebar %}
{% capture sidebarmd %}
{% include {{ sidebar }} %}{% endcapture %}
<section class="aside">
{{ sidebarmd | markdownify }}
</section>
{% endfor %}

Source: Stackoverflow