Strapi - Build a blog using Strapi, React and Apollo

For issues 1, and 2, the solution is as follow:

in the terminal, add the rehype package typing

yarn add rehype-raw

Inside your Article/index.js import rehype:

import rehypeRaw from "rehype-raw"

Inside your function add it to Markdown like this:

<ReactMarkdown
children={articles.data[0].attributes.content}
rehypePlugins={[rehypeRaw]}
/>