How to render image using markdown in React?

Viewed 209

I have ![Alt text](/RSA1.jpg ) in my markdown file. When I read the markdown file and render it is showing the alt text instead of image and when i inspect there is this line as below as below:

<img alt="Alt text" src="/RSA1.jpg">

How can I render image??? I am using markdown to jsx as markdown parser.

1 Answers

Markdown for the component era MDX is an authorable format that lets you seamlessly write JSX in your Markdown documents. You can import components, such as interactive charts or alerts, and embed them within your content. This makes writing long-form content with components a blast

https://mdxjs.com/getting-started/

Related