How can we use @nuxt/content
to display a markdown from a string? The idea is, I want to fetch some data from my firestore database, then display it.
So it'll be like,
const data = "
# Title
So this data has been returned from firebase, we just need to future out how to render it using a markdown previewer.
"
Now in the template, I want to just use nuxt-content
to display this string (data
)
Please note, I'd preferably like to use this @nuxt/content
only for this, I'm aware of other markdown previerers, but I have some static files too which are being rendered using this same library, so I just want to reuse it to render stuff from database too.