const allowedMarkdownTypes = [
'paragraph',
'text',
'emphasis',
'strong',
'link',
'blockquote',
'delete',
'list',
'listItem',
'heading',
'code',
'thematicBreak',
'table',
'tableHead',
'tableBody',
'tableRow',
'tableCell',
'html',
]
const markdown = "<a href=\"https://en.wikipedia.org/wiki/HTM\">HTML</a>, and will require the <code>html-parser</code> AST plugin to be loaded, in addition to setting the <code>escapeHtml</code> property to false."
<ReactMarkdown
source={markdown}
allowedTypes={allowedMarkdownTypes}
escapeHtml={false}
linkTarget='_blank'
/>
The content inside a HTML tag gets placed outside the HTML in the final output
<a href=\"https://en.wikipedia.org/wiki/HTM\">HTML</a>The above HTML gets rendered as
<a href=\"https://en.wikipedia.org/wiki/HTM\"></a>HTMLMY code -