wrapperStyle adds styles to different elements (gatsby-remark-images) #37970
Replies: 1 comment 4 replies
-
I tried to reproduce the problem with the same versions but failed. The custom style with Could you share a minimal reproduction? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
When I insert an image in markdown with markdown style:
![my image](../images/image01.jpg)
wrapperStyle adds styles to
<figure class="gatsby-resp-image-figure">
element.When I insert an image in markdown with
<img>
tag:<figure><img src="../images/image01.jpg" alt="my image"></figure>
wrapperStyle adds styles to
<span class="gatsby-resp-image-wrapper">
element which is just under<figure>
tag.I prefer 2 above; I'd like wrapperStyle to add styles always to
<span class="gatsby-resp-image-wrapper">
. Is there any way to do so without using<img>
?I'd appricate any advice!
gatsby-config.js
Beta Was this translation helpful? Give feedback.
All reactions