Simple plugin for @gridsome/transformer-remark
to enable the download of remote images.
npm install -s https://github.com/noxify/gridsome-plugin-remark-image-download.git
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'
}]
]
}
}
}
You can find the complete documentation here: https://webstone.info/documentation/gridsome-plugin-remark-image-download