I'm using markdown-it with nuxt
to render my article content (rich text
) to html
from strapi
. The text renders but the spacing between paragraphs is not included. I can use <br>
tag on rich text editor on strapi
to create line breaks but shouldn't strapi
automatically do this?
<div v-html="$md.render(articles.content || 'No content available')"></div>