Introduction
A tool for validating links in Markdown files
Install it.
Scan available URLs, it predicts them from your file-system based routing.
Validate Markdown files and print errors.
You can run this script during lint process, or before builds.
You can use other TypeScript executors like tsx
.
Specify allowed queries and fragments of a page.
Use populate
to populate dynamic routes into static.
Each param object indicates a page, allowed hashes and queries can be specified individually.
When you have multiple dynamic routes, you need to use an object instead.
To validate external urls, enable it.
To support relative urls, you need to specify a function that generates url based on file path.