hagnerd / gatsby-starter-blog-mdx

Live Demo
https://gatsby-starter-blog-mdx-demo.netlify.com
MIT License
67 stars 43 forks source link

Weird images #15

Closed robertoachar closed 5 years ago

robertoachar commented 5 years ago

Hi,

Do you know why images are being displayed this way?

Link: https://gatsby-starter-blog-mdx-demo.netlify.com/hello-world

Screen Shot 2019-09-08 at 10 44 37

Thanks

hagnerd commented 5 years ago

Hm... I do not. I will have to look into this. It might be regression from the recent package upgrades that I did.

robertoachar commented 5 years ago

Hey, thanks for you reply.

I've found an issue on Gatsby. Maybe it's related.

https://github.com/gatsbyjs/gatsby/issues/15486

hagnerd commented 5 years ago

Awesome! Thanks. I'll start by digging in there first.

robertoachar commented 5 years ago

Hey,

I've found a workaround for it. I added gatsby-remark-images in gatsbyRemarkPlugins and plugins as well.

Hope it helps you.

See: https://github.com/robertoachar/robertoachar.dev/blob/626f3c4b03831f8a6d9af9db7fb80a944a691ee1/gatsby-config.js#L57

hagnerd commented 5 years ago

Hey @robertoachar thanks for reporting. I'm sorry it took a while. I've been on a client project that uses a different Git client so unfortunately my personal Github account has been neglected for a while.

This issue is fixed with #17. I'm going to close this issue, but if you see anything else, or it doesn't work the way you expected feel free to re-open.