/gatsby-remark-rehype-images

Turn markdown images into react components with plugin-sharp goodies

Primary LanguageJavaScript

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