Introduction

Simple plugin for @gridsome/transformer-remark to enable the download of remote images.

Installation

npm install -s https://github.com/noxify/gridsome-plugin-remark-image-download.git

Usage

gridsome.config.js
module.exports = {
  siteName: 'Gridsome',
  plugins: [
    //...
  ],
  templates: {
    //...
  },
  transformers: {
    //Add markdown support to all file-system sources
    remark: {
      plugins: [
        ['@noxify/gridsome-plugin-remark-image-download', {
          targetPath: './src/assets/contentImages'
        }]
      ]
    }
  }
}