An open API service indexing awesome lists of open source software.

https://github.com/oorestisime/gatsby-remark-rehype-images

Augments markdown images with gatsby-image
https://github.com/oorestisime/gatsby-remark-rehype-images

Last synced: about 1 month ago
JSON representation

Augments markdown images with gatsby-image

Awesome Lists containing this project

README

        

# Gatsby remark rehype images [![npm version](https://badge.fury.io/js/gatsby-remark-rehype-images.svg)](https://badge.fury.io/js/gatsby-remark-rehype-images)

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](https://gatsby-remark-rehype-images.netlify.com/) for more details and a live example