Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with gatsby-plugin-mdx #13

Open
yang opened this issue Mar 3, 2021 · 0 comments
Open

Doesn't work with gatsby-plugin-mdx #13

yang opened this issue Mar 3, 2021 · 0 comments

Comments

@yang
Copy link

yang commented Mar 3, 2021

Thanks for this! Works great with gatsby-transformer-remark but not for gatsby-plugin-mdx.

It simply bails as soon as it gets to the .fields existence check (doesn't exist).

To repro:

  1. npm init gatsby
  2. Create src/pages/hello.mdx with [broken](/asdf)
  3. Install gatsby-remark-check-links
  4. Add options: {remarkPlugins: ['gatsby-remark-check-links']} to your gatsby-config.js for the gatsby-plugin-mdx.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant