gatsby-remark-smartypants

1.5.0-alpha.9fe50b00 • Public • Published

gatsby-remark-smartypants

Replaces “dumb” punctuation marks with “smart” punctuation marks using the retext-smartypants plugin.

Install

npm install --save gatsby-remark-smartypants

How to use

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

Options

Valid remark-smartypants options may passed to the plugin. For more on vaild options refer to the remark-smartypants API .

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-transformer-remark`,
    options: {
      plugins: [
        {
          resolve: "gatsby-remark-smartypants",
          options: {
            dashes: "oldschool",
          },
        },
      ],
    },
  },
];

Package Sidebar

Install

npm i gatsby-remark-smartypants@1.5.0-alpha.9fe50b00

Version

1.5.0-alpha.9fe50b00

License

MIT

Unpacked Size

2.41 kB

Total Files

4

Last publish

Collaborators

  • mlgualtieri-gatsby
  • serhalp-netlify
  • kathmbeck
  • pieh
  • tylerbarnes
  • daniellewgatsby
  • fk