oorestisime / gatsby-remark-rehype-images

Augments markdown images with gatsby-image
https://gatsby-remark-rehype-images.netlify.com/
3 stars 2 forks source link

Gatsby remark rehype images npm version

Parses html style tags in markdown files with an src attribute pointing to a local image, uses plugin-sharp on the image and inserts the result in rehyped attribute.

You can then load it in your React Component and call gatsby-image to get all of the goodies (blur effect etc) or even apply custom styles and create galleries etc!

Check the example website for more details and a live example