Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Latest commit

 

History

History
39 lines (30 loc) · 747 Bytes

File metadata and controls

39 lines (30 loc) · 747 Bytes

Gridsome Remark Plugin - Image Downloader

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

Install

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

Setup

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'
        }]
      ]
    }
  }
}

Documentation

You can find the complete documentation here: https://webstone.info/documentation/gridsome-plugin-remark-image-download