gatsby-remark-foam-links
v1.0.0
Published
Parse double bracket links used in foam
Downloads
1
Readme
gatsby-remark-foam-links
Transforms Foam links to the mdx component FoamLink
.
[[my-link-text]] -> <FoamLink>my-link-text</FoamLink>
You can then create your own component to handle links.
Usage
// In your gatsby-config.js
plugins: [
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
`gatsby-remark-foam-links`,
],
},
},
],