Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
gatsby-remark-use-frontmatter-path
Advanced tools
Readme
If your markdown files have frontmatter path
param then with this plugin you obtain converted links in your Gatsby pages.
So in GitHub you keep normal links between md files. And in Gatsby you will have path
links.
For example, given the following project directory structure:
./docs/
├── article.md
├── notes/
├──── copyright.md
./article.md
---
title: 'My article'
path: '/my_article'
---
Some text with [link](./notes/copyright.md)
./notes/copyright.md
---
title: 'My article'
path: '/copyright'
---
Read main [article](../article.md)
With this plugin all relative links will be transformed to:
// in ./article.md
- Some text with [link](./notes/copyright.md)
+ Some text with [link](/copyright)
// in ./notes/copyright.md
- Read main [article](../article.md)
+ Read main [article](/my_article)
npm install --save gatsby-remark-use-frontmatter-path
// In your gatsby-config.js
plugins: [
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: ['gatsby-remark-use-frontmatter-path'],
},
},
];
FAQs
If markdown file has a relative url to another markdown file then url will be replaced by frontmatter path value.
The npm package gatsby-remark-use-frontmatter-path receives a total of 46 weekly downloads. As such, gatsby-remark-use-frontmatter-path popularity was classified as not popular.
We found that gatsby-remark-use-frontmatter-path demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.