Indexing markdown content

Hi,

I would like to index all my blog posts written using Markdown. What should be the best way to index the markdown content?

I just indexed all the markdown as it is. On the frontend, I would like to use the Snippet to render the preview content. However, it’s Markdown and I don’t know if I could use the Snippet along with React markdown to render it

Any suggestion? Thanks