gatsby-remark-ruby
v0.1.0
Published
Gatsby plugin of remark-ruby, which uses custom syntax to write <ruby> in markdown
Downloads
4
Maintainers
Readme
gatsby-remark-ruby
This is a very simple wrapup of remark plugin remark-ruby, so that it can be used in Gatsby directly.
Installation
yarn add --dev gatsby-transformer-remark gatsby-remark-ruby
Configuration
In gatsby-config.js
file, write the following:
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolver: `gatsby-remark-ruby`,
options: {
parenthesis: '()',
},
},
],
},
}