-
Notifications
You must be signed in to change notification settings - Fork 77
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
bug: <img>
& <video>
doesn't work with assets in relative paths
#358
Comments
Hey, they should be using the same underlying component, see: https://github.com/invertase/docs.page/blob/main/website/src/components/Markdown.tsx#L43 There's a big update landing tomorrow so I'll double check whether this is still relevant when that lands 👍 |
Let's say I am planning on doing an initial release of my docs in let's say the next 30 minutes :D Is there something I had to change right away? :D |
Seems like this is still an issue at least for video components, a reproduction visible on this page: https://docs.page/donnc/jawce/demo |
<img>
doesn't work with assets in relative paths<img>
& <video>
doesn't work with assets in relative paths
Hey @ABausG My understanding of MDX is that this is intended behaviour - MDX is treating TLDR: The |
See title.
I was using
<img src="/assets/image.png"/>
which didn't work.Upon reading the documentation really carefully I noticed that it only mentioned the
<Image>
tag and changing it to that worked.Is there a particular reason why the Mapping of
<img>
is not working?Going forward I think there could be two ways:
<Image>
and not<img>
. Happy to add that respective callout to the docs if desired :)The text was updated successfully, but these errors were encountered: