mdx-local-link-checker
v2.1.1
Published
A broken link checker for MDX and Markdown.
Downloads
1,392
Readme
MDX Local Link Checker
A broken link checker for MDX and Markdown.
Usage
mdx-local-link-checker [dir] [basepath] [ignorePattern]
Examples
# Check the current directory with no ignore patterns
mdx-local-link-checker
# Check the src/pages folder, ignoring anything in a
# folder called "books" (at any depth)
mdx-local-link-checker src/pages src/pages "/books/**"
# Check the src/pages folder, ignoring anything in a
# folder called "books" or "slide-decks" (at any depth)
mdx-local-link-checker src/pages src/pages "/(books|slide-decks)/**"
# Check only the docs folder with the src/pages
# folder set to be the base path (for root-relative
# links such as "/docs/router")
mdx-local-link-checker src/pages/docs src/pages