danielmahon / gatsby-remark-relative-images

Convert markdown image src(s) to be relative for gatsby-remark-images.
https://www.npmjs.com/package/gatsby-remark-relative-images
BSD Zero Clause License
79 stars 29 forks source link

version 0.3 breaks image captions #33

Closed aarongervais closed 4 years ago

aarongervais commented 4 years ago

Hi,

After upgrading from 0.2 to 0.3, the showCaptions option of gatsby-remark-images stops working. e.g.:

{
  resolve: `gatsby-remark-images`,
  options: {
    showCaptions: ['title'],
  },
}

The version of gatsby-remark-images doesn't seem to make a difference, neither does changing its configuration options. Downgrading back to gatsby-remark-relative-images 0.2 fixes the issue.