@yozora/gatsby-images
v2.2.0
Published
Transform markdown files to Yozora AST
Downloads
9
Maintainers
Readme
This plugin couldn't works alone, tt needs to be used as a plugin for @yozora/gatsby-transformer which parse the markdown files into Yozora AST.
This plugin inspired by gatsby-transformer-remark, it process images referenced in markdown files as gatsby-remark-images did within gatsby-transformer-remark.
Install
npm
npm install @yozora/gatsby-transformer @yozora/gatsby-images --save-dev
yarn
yarn add @yozora/gatsby-transformer @yozora/gatsby-images --dev
Usage
Add configs in gatsby-config.js
:
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: '@yozora/gatsby-transformer',
options: {
plugins: [
{
resolve: '@yozora/gatsby-images',
options: {},
}
]
}
}
]
}