Skip to content

Latest commit

 

History

History
37 lines (34 loc) · 778 Bytes

README.md

File metadata and controls

37 lines (34 loc) · 778 Bytes

gatsby-remark-pangu

A gatsby plugin for adding text spaces by pangu.js

Install

npm install gatsby-remark-pangu

How to use

If you are using “gatsby-transformer-remark”, you can add “gatsby-remark-pangu” like this:

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-transformer-remark`,
    options: {
      plugins: [
        `gatsby-remark-pangu`
      ],
    },
  },
]

If you are using “gatsby-plugin-mdx”, you can add “gatsby-remark-pangu” like this:

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-mdx`,
    options: {
      extensions: [".mdx", ".md"],
      gatsbyRemarkPlugins: [
        `gatsby-remark-pangu`,
      ],
    },
  },
]