Strapi markdown not displayed in Gatsby frontend

I am using react-markdown in gatsby to translate markdown into html. It doesn’t work all the time and I am not sure why anyone experiencing the same issue.

Yes. It’s infuriating. Works fine in the strapi html and markdown view but doesn’t import to gatsby