Z102: ANCHOR_MISSING¶
-
Severity: Error
Penalty: 0.0 points | Category:
general -
Remediation & Opt-In
Auto-Fixable: No | Opt-In: No
Rationale¶
This rule is emitted when an inline link targets a fragment identifier (#anchor-name), but the destination document contains no heading slug or explicit anchor ID matching that fragment.
Fragment links pointing to missing anchors navigate to the page top but fail to jump to the intended topic section, degrading reading experience.
How to Fix¶
Inspect the flagged location in the Markdown file and update the content or configuration:
-
Failing Pattern (Triggers Z102)
-
Passing Pattern (Resolves Z102)
Configuration¶
Reference¶
See the Finding Codes Index for finding code details.