@bonobolabs/gatsby-remark-images-custom-widths

0.0.7 • Public • Published

gatsby-remark-images-custom-widths

A fork of gatsby-remark-images that displays images at a custom width, via the width attribute on an img in markdown:

<img src="./image.jpg" alt="My image" width="500px"/>

The width used in this attribute overrides the maxWidth option passed into the plugin, so the image is processed based on the specified width. (Or more correctly, the set of responsive images generated are based around this width instead).

/@bonobolabs/gatsby-remark-images-custom-widths/

    Package Sidebar

    Install

    npm i @bonobolabs/gatsby-remark-images-custom-widths

    Weekly Downloads

    16

    Version

    0.0.7

    License

    MIT

    Unpacked Size

    47.4 kB

    Total Files

    10

    Last publish

    Collaborators

    • benmccormickbonobo
    • alexlouden