1.7.0-alpha.1 • Published 3 years ago
@guanghechen/gatsby-yozora-images v1.7.0-alpha.1
Transform markdown files to Yozora AST. Inspired by gatsby-transformer-remark.
Install
npm
npm install @guanghechen/gatsby-transformer-yozora @guanghechen/gatsby-yozora-images --save-dev
yarn
yarn add @guanghechen/gatsby-transformer-yozora @guanghechen/gatsby-yozora-images --dev
Usage
Add configs in gatsby-config.js
:
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: '@guanghechen/gatsby-transformer-yozora',
options: {
plugins: [
{
resolve: '@guanghechen/gatsby-yozora-images',
options: {},
}
]
}
}
]
}