-
Notifications
You must be signed in to change notification settings - Fork 13
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
Using with gatsby-plugin-mdx results in undefined HTML parent tag #12
Comments
I'm using YouTube now, because it makes more sense with large video files. Here is the link to the last commit that produced this bug: https://github.com/muuvmuuv/portfolio/tree/6684199f5762829b5fc2db4481bc66936f10e241 |
You would need to change "html" to "jsx" on the following line This is because the AST for mdx is slightly different Change this into a self closing tag here gatsby-remark-videos/src/index.js Line 78 in d572c9f
This is because jsx demands all tags to be closed |
I just added your plugin and it seems to work totally fine but looking at the generated code it seems that it has an undefined parent element. I couldn't find the source where it resolves to undefined.
My repo: https://github.com/muuvmuuv/portfolio (development branch)
I have not uploaded the videos yet, so you must remove the videos in
content/projects/additive-tv/index.md
andcontent/projects/influxe-gaming/index.md
. After that add a video in one project file.The text was updated successfully, but these errors were encountered: