# gatsby-plugin-netlify-cms-paths

> A gatsby plugin to change file paths in your markdown files to Gatsby-friendly paths when using Netlify CMS to edit them.

Latest version **1.3.0** (published 2019-08-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install gatsby-plugin-netlify-cms-paths
pnpm add gatsby-plugin-netlify-cms-paths
yarn add gatsby-plugin-netlify-cms-paths
bun add gatsby-plugin-netlify-cms-paths
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2019-08-23 |
| First published | 2018-07-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 23.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kennedy Rose |
| Maintainers | ken85rose, tbaustin |
| Keywords | gatsby-plugin, gatsby, plugin, netlify, cms, paths, image, uploads, relative |

## Links

- npm: https://www.npmjs.com/package/gatsby-plugin-netlify-cms-paths
- Repository: https://github.com/escaladesports/gatsby-plugin-netlify-cms-paths
- Homepage: https://github.com/escaladesports/gatsby-plugin-netlify-cms-paths#readme
- Issues: https://github.com/escaladesports/gatsby-plugin-netlify-cms-paths/issues
- npm.io page: https://npm.io/package/gatsby-plugin-netlify-cms-paths

## Dependencies (4)

- [slash](https://npm.io/package/slash.md) ^3.0.0
- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.26.0
- [read-yaml-promise](https://npm.io/package/read-yaml-promise.md) ^1.0.2
- [unist-util-select](https://npm.io/package/unist-util-select.md) ^1.5.0

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.3.0 (latest) — 2019-08-23
- 1.2.2 — 2019-07-09
- 1.2.1 — 2019-03-04
- 1.2.0 — 2019-02-28
- 1.1.0 — 2018-10-08
- 1.0.2 — 2018-08-20
- 1.0.1 — 2018-07-30

## README

# gatsby-plugin-netlify-cms-paths

A gatsby plugin to change file paths in your markdown files to Gatsby-friendly paths when using Netlify CMS to edit them.

## Installation

With npm:

```bash
npm install --save gatsby-plugin-netlify-cms-paths
```

With Yarn:

```bash
yarn add gatsby-plugin-netlify-cms-paths
```

## Usage

In your `gatsby-config.js` file:

```js
module.exports = {
  plugins: [

    // Including in your Gatsby plugins will transform any paths in your frontmatter
    `gatsby-plugin-netlify-cms-paths`,

    // Including in your Remark plugins will transform any paths in your markdown body
    {
      resolve: `gatsby-transformer-remark`,
      options: {
        plugins: [
          `gatsby-plugin-netlify-cms-paths`,
        ],
      },
    },

  ],
}
```

## Plugin Options

```js
module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-netlify-cms-paths`,
      options: {
        // Path to your Netlify CMS config file
        cmsConfig: `/static/admin/config.yml`
      }
    }
  ]
}
```

---
_Source: https://npm.io/package/gatsby-plugin-netlify-cms-paths · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
