gatsby-remark-replace
gatsby-remark-replace
is a Gatsby remark plugin to replace text in Markdown content and frontmatter
Usage
- Download
gatsby-remark-replace
from the NPM registry:
yarn add gatsby-remark-replace
- Add the plugin to your
gatsby-config.js
file
module.exports = {
plugins: [
{
resolve: "gatsby-transformer-remark",
options: {
plugins: [
{
resolve: "gatsby-remark-replace",
options: {
items: [
{from: "/uploads/", to: "../_uploads/"},
{from: "{age}", to: "20"},
],
},
},
],
},
},
],
}
Contributing
- ⇄ Pull/Merge requests and ★ Stars are always welcome.
- For bugs and feature requests, please create an issue.