remark and remark-html packages are used to render html.
After rendering markdown syntax into html, the html can be added to the page using
<div dangerouslySetInnerHTML={{ __html: postData.contentHtml }} />remark and remark-html packages are used to render html.
After rendering markdown syntax into html, the html can be added to the page using
<div dangerouslySetInnerHTML={{ __html: postData.contentHtml }} />