You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, there is no way of displaying captions under images inside MDX files. It technically works, but it causes a nesting warning: <figure> cannot appear as a descendant of <p>. Maybe there is a way to unwrap figures from p elements when configuring page generation.
Edit: In the new version of the gatsby-plugin-mdx, images are unwrapped by default.
The text was updated successfully, but these errors were encountered:
Description of the enhancement
For now, there is no way of displaying captions under images inside MDX files. It technically works, but it causes a nesting warning:
<figure> cannot appear as a descendant of <p>
. Maybe there is a way to unwrap figures from p elements when configuring page generation.Edit: In the new version of the
gatsby-plugin-mdx
, images are unwrapped by default.The text was updated successfully, but these errors were encountered: