Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

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: '()',
        },
      },
    ],
  },
}
© 2023 Gatsby, Inc.