gatsby-remark-link-rewrite
v0.2.1
Published
It can freely rewrite the link URL of Markdown.
Downloads
74
Readme
gatsby-remark-link-rewrite
It can freely rewrite the link URL of Markdown.
It is a plugin of gatsby-transformer-remark
.
Usage
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: 'gatsby-remark-link-rewrite',
options: {
pattern: /^(.*)$/,
replace: '$1',
},
},
],
},
},
Options
pattern
: RegExp
replace
: string
See also
I use it plugin in my project.
TODO (Memo)
- Testing. (How do it...?)