cedricdelpoux / gatsby-source-google-docs

Gatsby plugin to use Google Docs as a data source
https://cedricdelpoux.github.io/gatsby-source-google-docs/
MIT License
212 stars 55 forks source link

fix: google docs changed the format of image url #224

Closed uded closed 1 year ago

uded commented 1 year ago

Fixes #222, fixes #223 - changed the URL for Google stored images in MDX.

The current format returned by Google in Markdown has this URL:

https://lh6.googleusercontent.com/89p8N2d-jQXm28b73kaRPZjG8gCOzLqjT5l77tYcQMmfA6q9OClOdhx5OgsR_8d-QZdassadasdIHSuMbCyVJJYT_SKwS4tg1JaSQqTVvo1jwdCT9Oig00Evs9k0wg6lFHwq_Z8vWgcjivqLTK92HriucsQSZ

Tested locally with our build, it works like a charm.

cedricdelpoux commented 1 year ago

Thanks @uded. Sorry for the delay. Published in 2.4.2