gatsby-remark-smartypants

6.13.1 • Public • Published

gatsby-remark-smartypants

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

Install

npm install 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 valid options refer to the retext-smartypants API.

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

/gatsby-remark-smartypants/

    Package Sidebar

    Install

    npm i gatsby-remark-smartypants

    Weekly Downloads

    10,072

    Version

    6.13.1

    License

    MIT

    Unpacked Size

    35.5 kB

    Total Files

    6

    Last publish

    Collaborators

    • kathmbeck
    • pieh
    • tylerbarnes
    • fk
    • daniellewgatsby
    • wardpeet