Skip to content
Esc
navigateopen⌘Jpreview
On this page

markdown-local-target-case-mismatch

Reports a local Markdown target whose path casing differs from the repository path.

← All Rules

What it does

Reports a local destination when each path segment does not use the exact casing stored in the repository.

Why it matters

Case-only differences can work on one filesystem and fail on another.

Examples

Non-passing

docs/
├── guide.md        # links to TARGET.md
└── target.md

Passing

docs/
├── guide.md        # links to target.md
└── target.md

When it applies

This Rule belongs to the configurable markdown-destinations group. Local paths are percent-decoded once before Presswork compares repository path casing.

References

See Presswork Configuration for Profile selection and src/lib/local-target-resolver.ts for local-target resolution.