I'm using react-markdown in a web app. When I load an image stored in the same folder as the .md file using  I get the image rendered correctly in the preview in Visual Studio, but not in the browser - instead I get an image error in both the development and production version. I've tried escaping HTML and this doesn't work either. I'm loading a .md page as a component in and all text and formatting works perfectly.
Thanks
import myImage from 'path/to/image.png'. In your md file, if you use the image path then the compiler can't find it. Are you using create-react-app?