@draftbox-co/gatsby-rehype-inline-images

A Gatsby plugin to download inline images from Ghost


Keywords
gatsby, gatsby-plugin, rehype, html, images, images-inline, images-download, ghost, ghost-cms, draftbox
License
MIT
Install
npm install @draftbox-co/gatsby-rehype-inline-images@1.0.2

Documentation

gatsby-rehype-inline-images

Downloads images inside the content from Ghost CMS. This plugin is designed to work with a headless Ghost CMS only.

Install

yarn add gatsby-transformer-rehype @draftbox-co/gatsby-rehype-inline-images

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-transformer-rehype`,
    options: {
      plugins: [
        {
          resolve: `@draftbox-co/gatsby-rehype-inline-images`,
        },
      ],
    },
  },
]

Contributions

PRs are welcome! Consider contributing to this project if you are missing feature that is also useful for others.

Copyright & License

Copyright (c) 2020 Draftbox - Released under the MIT license.