Skip parsing the README contents by Vuejs

This commit is contained in:
Chris Kankiewicz
2020-02-03 14:06:19 -07:00
parent 9c2a5f060e
commit cdfd23ccfe

View File

@@ -4,7 +4,7 @@
<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' }}">
<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 %}