-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inline image tags not rendered #222
Comments
As a workaround for anyone else who needs this: just use a Closing this issue since there's a workaround. |
Seems like something that should work 🤔 |
Yeah, inline JSX doesn't seem to work. The original example doesn't work because
I would also like the JSX form to work, though. |
This is also not being parsed properly. There's a workaround where you can import the image at the top of the file and add that, but it's not ideal. <a href={require('./async-cheatsheet.png')}>
<img alt="Asynchronous JavaScript Cheatsheet" src={require('./async-cheatsheet.png')} />
</a> Any idea how I'd go about fixing this? I'm moving all my markdown from MDXC to MDX, and this is the one thing that seems not to work. |
I'm not sure what causes this, but a workaround might be to create a custom component that's simply an alias for the // Link.js
export default 'a'
The parser treats |
Neat, that works. Thanks! |
The image tag isn't working because of the curly braces. This will be fixed when |
images inside of markdown text is rendered as text instead of as an image.
should be rendered as:

but instead is just text:

The text was updated successfully, but these errors were encountered: