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

[Shock] - Create plugin that checks for broken links #137

Open
matthew-carroll opened this issue Jun 2, 2024 · 0 comments
Open

[Shock] - Create plugin that checks for broken links #137

matthew-carroll opened this issue Jun 2, 2024 · 0 comments
Labels
area_static_shock feature New feature or request

Comments

@matthew-carroll
Copy link
Contributor

It's easy to type links with typos when authoring articles. Create a plugin that checks page content, before it's written to the final file, which validates every URL that it finds in the HTML content.

The plugin should support a quiet mode, which says nothing, a warning mode, which outputs warning logs during build, and an error mode, which stops the build upon finding any broken links.

When in error mode, the plugin should check all URLs before stopping the build. This way, the user doesn't have to play whack-a-mole, fixing one link per build.

@matthew-carroll matthew-carroll added feature New feature or request area_static_shock labels Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area_static_shock feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant