Releases: HiDeoo/starlight-links-validator
[email protected]
Patch Changes
- #131
14f4d8dThanks @DaniFoldi! - Addsastroas a peer dependency to prevent potential build errors in monorepos with hoisting disabled.
[email protected]
[email protected]
[email protected]
[email protected]
Minor Changes
-
#118
efef54aThanks @HiDeoo! - Adds hyperlinks (OSC 8) support to validation terminal output.In supported terminals, error slugs can be conveniently used (e.g. with
Ctrl+Click,Opt+Click,Cmd+Click, or a context menu) to open the corresponding file using the default associated application.
[email protected]
Patch Changes
- #115
b042c61Thanks @trueberryless! - Fixes validation issue for links to Starlight page's title anchor, e.g./getting-started/#_top.
[email protected]
Patch Changes
- #113
3e0a88cThanks @HiDeoo! - Prevents plugin remark plugin from running on Markdown and MDX content when using the AstrorenderMarkdown()content loader API.
[email protected]
Minor Changes
-
#108
82f8ec5Thanks @HiDeoo! - Adds support for excluding links from validation using a function.When using the function syntax, the function should return
truefor any link that should be excluded from validation orfalseotherwise. The function will be called for each link to validate and will receive an object containing various properties to help determine whether to exclude the link or not.Check out the
excludeconfiguration option documentation for more details and examples.
[email protected]
Minor Changes
-
#104
cbeaa0fThanks @HiDeoo! - Ignores query strings when checking for excluded links.Previously, to exclude links with query strings, you may have needed to rely on fairly loose glob patterns, e.g.
/playground/**to exclude/playground/,/playground/?id=fooand/playground/?id=bar. With this change, excluding/playground/will ignore all query strings, so/playground/,/playground/?id=fooand/playground/?id=barwill all be excluded.