<div id="readme" class="my-8">
    <div class="rounded-lg overflow-hidden shadow-md">
        <header class="flex items-center bg-blue-600 px-4 py-3 text-white">
            <i class="fas fa-book fa-lg pr-3"></i> README.md
        </header>

        <article class="bg-gray-100 rounded-b-lg px-4 py-8 sm:px-6 md:px-8 lg:px-12 {{ readme.getExtension == 'md' ? 'markdown' : 'font-mono' }}" v-pre>
            {% if readme.getExtension == 'md' %}
                {{ markdown(readme.getContents) | raw }}
            {% else %}
                {{ readme.getContents | nl2br }}
            {% endif %}
        </article>
    </div>
</div>
