ID: I202602211303
Status: idea
Tags: Plugins, quartz
WikiLinkValidator
NOTE
This plugin is a custom plugin made by me. It is not an official plugin (yet?). I might make a PR in the future
This plugin validates internal wikilinks and handles broken links (links to pages that don’t exist) by converting them to plain text, bold text, or leaving them as-is based on your configuration.
This plugin accepts the following configuration options:
brokenLinkFormat: How to display broken wikilinks. Can be one of:"text"(default): Convert broken links to plain text"bold": Convert broken links to bold text"ignore": Leave broken links unchanged
API
- Category: Transformer
- Function name:
Plugin.WikiLinkValidator(). - Source:
quartz/plugins/transformers/wikiLinkValidator.ts.
References
I was annoyed at how many 404 pages were being indexed by Google. Cause this would ruin my SEO. So I decided to make my own quartz plugin to fix this issue.